Ancilla qubit allocation in LogicalCircuit via AncillaReservoir#18
Ancilla qubit allocation in LogicalCircuit via AncillaReservoir#18NolanHeffner wants to merge 14 commits intomainfrom
LogicalCircuit via AncillaReservoir#18Conversation
…, since it is not a Logical object.
…tionality. Bug fixes to AncillaReservoir.
…r. Added experimental 'min_path' algorithm to allocation().
…ation/LogicalQ into ancilla_reservoir
…Moved reservoir circuit demo to scratch folder. Moved reservoir refactor of LogicalCircuit to Logical.py, replacing current LogicalCircuit implementation. Other bug fixes.
|
Thanks for working on this, could you summarize any tests you performed besides whatever is contained in the demo notebook? I will probably go through and do my own round of testing (including hardware compatibility), but it would be nice to know what's already been checked. |
LogicalCircuit via AncillaReservoir
|
All tests that I ran are contained on the Hardware Team OneNote under 2025-11-8. I agree that another round of testing is needed. I am mostly concerned about the potential for the circuit to use dirty ancillas, since not all operations reset their ancillas before/after use. Other than that, most changes were just a wrapper call to the reservoir and so the circuit structure is visually extremely similar. |
|
I don't seem to see those results, could you list them out here anyways though since the OneNote is currently an internal log which isn't available to the public and it would be nice to have a one-stop reference for such a big change? |
|
I agree on the topic of dirty ancillas, that's something we need to test (and fix, if applicable) before merging this change. For one, it may help to merge my recent LogicalGateBenchmarking demo notebook into this branch and check those plots against what we have currently. |
AncillaReservoir Test Results.pdf The LogicalGateBenchmarking demo notebook has already been pulled into this branch (I believe through commit 8c56eb8). I will run the notebook and update with results. |
|
Looks like the fidelities went down, worried about that. Is that with any changes to the notebook, or the exact state it is in on the |
|
git pull indicates the branch is up to date with main, and no changes have been made to the notebook. Can you direct me to the main branch results? |
|
@RasmitDevkota I ran LogicalGateBenchmarking.ipynb on the main branch and achieved comparable results to the ancilla_reservoir branch. I am confused what conditions let to 99.0%+ F_L?
|
…rent feedback logical gates. First PR candidate.




No description provided.