quantum-compiler / quartz

The Quartz Quantum Compiler
Apache License 2.0
76 stars 19 forks source link

[Optimizer] Do not modulo 2pi at circuit input #177

Closed xumingkuan closed 2 months ago

xumingkuan commented 3 months ago

Some parameters may not have a range [0, 2pi). We should not normalize them.

We still normalize to [0, 2pi) in rotation merging. We may need to fix further if a parameter expression is involved in both rotation merging and another gate with the parameter range not [0, 2pi).