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
177 stars 38 forks source link

Differentiate IS_AMP_0() macro #733

Closed WrathfulSpatula closed 3 years ago

WrathfulSpatula commented 3 years ago

The use of IS_NORM_0() in QUnit was confused between amplitude and gate clamping. We turn these two cases into distinct macros, in this PR.