Skip to content

Commit da96afd

Browse files
committed
[fix] permute coordinates x/y
Before, they were not passed on to `mqgate`
1 parent 5d21dc4 commit da96afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gates.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
} else {
429429
stroke = (stroke,) * qubits.len()
430430
}
431-
mqgate(none, n: qubits.len(), width: width, draw-function: draw-functions.draw-permutation-gate, data: (qubits: qubits, extent: 2pt, separation: separation, bend: bend, wire-count: wire-count, stroke: stroke))
431+
mqgate(none, x: x, y: y, n: qubits.len(), width: width, draw-function: draw-functions.draw-permutation-gate, data: (qubits: qubits, extent: 2pt, separation: separation, bend: bend, wire-count: wire-count, stroke: stroke))
432432
}
433433

434434

0 commit comments

Comments
 (0)