Closed mtweiden closed 8 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.
canonical_unitary
bqskit/utils/math.py
Adds the
canonical_unitary
function tobqskit/utils/math.py
. Ensures that unitaries that differ only by a global phase are cast to the same matrix representation.