unitaryfund / qrack

Comprehensive, GPU accelerated framework for developing universal virtual quantum processors
https://qrack.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
176 stars 38 forks source link

QBdt stabilizer phase debug #957

Closed WrathfulSpatula closed 2 years ago

WrathfulSpatula commented 2 years ago

If we limit to just QStabilizer attachments to QBdt, as we do not PushStateVector() or PopStateVector() to multiply-out amplitudes, we also do not normalize stabilizer phase per usual QBdt rules. (If we limit test_mirror_quantum_volume to just Clifford and Pauli gates, this now seems to have a 100% success rate.)