Skip to content

Commit

Permalink
Fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Nov 20, 2023
1 parent 60ac6f4 commit c6890d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stim/circuit/circuit.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1420,14 +1420,14 @@ void stim_pybind::pybind_circuit_methods(pybind11::module &, pybind11::class_<Ci
Examples:
>>> import stim
>>> circuit = stim.Circuit("""
>>> circuit = stim.Circuit('''
... R 0 1
... X 1
... H 0
... CX 0 1
... M 0 1
... DETECTOR rec[-1] rec[-2]
... """);
... ''');
>>> qasm = circuit.to_qasm(open_qasm_version=3);
>>> print(qasm.strip().replace('\n\n', '\n'))
OPENQASM 3.0;
Expand Down

0 comments on commit c6890d3

Please sign in to comment.