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

QBdt Attach() debug #958

Closed WrathfulSpatula closed 2 years ago

WrathfulSpatula commented 2 years ago

It turns out, Aaronson's original implementation of stabilizer tableau seems to freely factor out non-observable global phase offset. (Why wouldn't it?) However, we need to track global phase offset as non-arbitrary for QBdt attachment. (This PR makes test_cfulladd and tests for related adder circuits pass, for example.)