-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Feature Request] Sparse Representation of operations in the Pauli Formalism #272
Comments
I suggest looking at how gates are implemented as an example. Could even add the pauli rotation there, similarly to how the rz is implemented (inheriting from Gate), but with one more parameter for the axis (X/Z) |
Should we save this for when we start migrating to C++ @gwwatkin? |
@alexnguyenn and @isolatedinformation, would be nice to get this done in python so we can squeeze it into the paper. It should be fairly quick to implement |
lattice-surgery-compiler/src/lsqecc/gates/gates.py Lines 53 to 64 in d59f447
@gwwatkin shouldn't line 62 be the T gate and not the S gate? |
Yes you are right! Good catch |
added the fix for this in #273 |
@isolatedinformation I think we can can close this after this comment from 274 is adressed:
|
Issue Description
Our pipeline pads single-qubit rotations with identities to span the whole width of the circuit. Switching to a sparse format (like in the gate-based pipeline) is likely to speed up this step and drastically reduce memory footprint. (as pointed out in #263 )
The text was updated successfully, but these errors were encountered: