Skip to content

Commit d9859a9

Browse files
committed
Make compiler doctest tolerate quilc HALT output
1 parent f0098e8 commit d9859a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/compiler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ For example, consider running a ``CZ`` on non-neighboring qubits on a linear dev
364364

365365
.. testoutput:: swaps
366366

367-
CZ 2 1
367+
CZ 2 1...
368368

369369
We see that the resulting program has only a single ``CZ`` even though the original program would
370370
usually require the insertion of a ``SWAP`` gate. The compiler instead opted to just relabel (or

0 commit comments

Comments
 (0)