From c6890d39b1809f01547b2efcd7c451e645325f56 Mon Sep 17 00:00:00 2001 From: Craig Gidney Date: Sun, 19 Nov 2023 18:28:23 -0800 Subject: [PATCH] Fix quotes --- src/stim/circuit/circuit.pybind.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stim/circuit/circuit.pybind.cc b/src/stim/circuit/circuit.pybind.cc index 080ed49c6..ebf7b15bf 100644 --- a/src/stim/circuit/circuit.pybind.cc +++ b/src/stim/circuit/circuit.pybind.cc @@ -1420,14 +1420,14 @@ void stim_pybind::pybind_circuit_methods(pybind11::module &, pybind11::class_>> 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;