Skip to content
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 CZSWAP gate and optimize stim.PauliString.{after,before} #685

Merged
merged 9 commits into from
Jan 24, 2024

Conversation

Strilanc
Copy link
Collaborator

@Strilanc Strilanc commented Jan 24, 2024

  • Add CZSWAP gate with SWAPCZ alias
  • Add specialized do and undo operations to stim::PauliStringRef instead of using generic methods
    • Measured this as being 10x faster at propagating a stabilizer pauli string through a surface code circuit
  • Move gate data from src/circuit/ into src/gates/ directory
  • Delete now-unused stim::GateVTable (obsoleted by moving to switch statements)

Fixes #683

@Strilanc Strilanc enabled auto-merge (squash) January 24, 2024 07:31
@Strilanc Strilanc merged commit e741500 into main Jan 24, 2024
57 checks passed
@Strilanc Strilanc deleted the newgates2024 branch January 24, 2024 07:35
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.

add CZSWAP gate
1 participant