BQSKit / bqskit

Berkeley Quantum Synthesis Toolkit
Other
108 stars 31 forks source link

Support for Canonical Unitaries #197

Closed mtweiden closed 8 months ago

mtweiden commented 9 months ago

Adds the canonical_unitary function to bqskit/utils/math.py. Ensures that unitaries that differ only by a global phase are cast to the same matrix representation.