Skip to content

Conversation

@peter-campora
Copy link
Collaborator

Draft pull request for SLR=>QIR compilation. Needs testing.

ciaranra and others added 30 commits January 6, 2025 16:59
* draft steane_qec

* fix qec_steane_z

* factor out permute changes to another PR

* factor out Steane.m cleanup to another PR

* set flag bit correctly

* add qec_steane_.*tel templates

* fix Steane.qec_steane_tel

* permute all qubits for teleportation

* formatting fixes

* formatting fixes

* formatting fix

* formatting fix

* no need to permute ancillas

* minor rearrangement

* fix teleportation-based QEC

* fix typo

* maybe fix classical registers in teleportation-based QEC

* two flag bits for Steane.qec_tel

* add warnings

* rename flag_bit --> flag, in agreement with elsewhere in the repo

* minor cleanup

* minor renaming

* standardize docstring

* fix If statement

* maybe fix Steane QEC and an incorrect type hint

* fix typo

* fix warning typo
…ll try to extract a program with classical operations to QIR as test of rough draft code, but existing tests work.
@ciaranra ciaranra closed this Jul 31, 2025
@ciaranra ciaranra deleted the slr_qir_classical branch July 31, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants