Closed WrathfulSpatula closed 2 years ago
There seems to be a basic problem with QBdt::Attach()
phase handling, by the way. It's difficult to track the necessary overall phase factors as non-arbitrary, particularly with stabilizer, which doesn't necessarily track absolute phase to begin with. However, QHybrid
also seems to work similarly as well, up to phase effects, when attached to QBdt
.
QBdt
can almost correctlyAttach()
toQEngine
types. In fact, gate primitive unit tests generally pass with "attached" qubits, except for mirror circuit integration tests.In the meantime,
QBdt
has been significantly improved, by using astd::set
to skip branching on gate depth node peers.QPager
andQStabilizerHybrid
also now provide preliminary for support for theQEngine
polymorphism.Finishing
QBdt::Attach()
support might take about a week or so, but everything besides that, herein, is unaffected or improved, including simpleQBdt
simulation.