Closed perlinm closed 2 months ago
This should allow different logical qubits to share ancillas, with something like
program = pecos.slr.Main( logical_qubit_0 := pecos.qeclib.steane.steane_class.Steane("lq_0"), logical_qubit_1 := pecos.qeclib.steane.steane_class.Steane("lq_1", ancillas=logical_qubit_0.a), ... )
Warning: I am not sure how to test for unintended side effects, so I'm not sure whether this breaks anything...
Oops, meant to open a PR into the feat-qeclib-steane branch. Closing.
feat-qeclib-steane
This should allow different logical qubits to share ancillas, with something like
Warning: I am not sure how to test for unintended side effects, so I'm not sure whether this breaks anything...