-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add stim.Circuit.without_detectors() and shortest graphlike error crumble output #806
Comments
Should without_detectors keep observables? It's pretty fast to write a loop that strips the detectors out of a circuit, so I'm not sure it's a huge gain over "there's a python API for you to do stuff". Having to_crumble_url take a list of explained errors or dem errors is interesting. |
Without_detector may be better as a flag on exporting to crumble url, bc
that's the use case haha
…On Tue, Jul 30, 2024, 1:40 PM Craig Gidney ***@***.***> wrote:
Should without_detectors keep observables?
It's pretty fast to write a loop that strips the detectors out of a
circuit, so I'm not sure it's a huge gain over "there's a python API for
you to do stuff".
Having to_crumble_url take a list of explained errors or dem errors is
interesting.
—
Reply to this email directly, view it on GitHub
<#806 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIPOPF7YSVN6ZL3MEA37J7LZO724NAVCNFSM6AAAAABLXBHYSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGE3TANRTHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Why do you want to remove the detectors? What is it solving? I have good guesses but I want to know. |
just because it makes crumble too slow |
That was my first guess. I think it might make more sense to solve it by making crumble fast. It is currently reparsing the circuit and recomputing all detecting regions everywhere in the circuit every time it draws a frame, and doing that in javascript instead of webassembly. |
Two quick feature ideas from @mmcewen-g and I:
It would be really cool if you could call
shortest_graphlike_error(canonicalize_circuit_errors=True)
and have it output a crumble link that would have that error marked.The text was updated successfully, but these errors were encountered: