Skip to content

feat: implement O(1) SU(2) algebraic transpiler for NV hardware flavor#96

Open
maestroK wants to merge 1 commit into
QuTech-Delft:developfrom
maestroK:algebraic-nv-transpiler
Open

feat: implement O(1) SU(2) algebraic transpiler for NV hardware flavor#96
maestroK wants to merge 1 commit into
QuTech-Delft:developfrom
maestroK:algebraic-nv-transpiler

Conversation

@maestroK
Copy link
Copy Markdown

No description provided.

@maestroK
Copy link
Copy Markdown
Author

This PR optimizes single-qubit gate depth for the NV hardware flavor by intercepting the AST before downstream transpilation, reducing circuit execution time and mitigating decoherence.

Added algebraic_transpiler.py: Collapses contiguous vanilla gates into bounded O(1) native Z-Y-Z pulse sequences via SU(2).

Updated builder.py: Integrates the optimization pass and absorbs redundant SetInstruction memory allocations.

Updated transpile.py: Adds pass-through logic to NVSubroutineTranspiler so it accepts pre-compiled NV primitives without throwing a ValueError.

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.

1 participant