You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scale-out-matrix-phases takes matrices $A$ and $B$ and attempts to find a value $\phi := e^{i\theta}$ that most accurately allows $B[:,0] \approx \phi A[:,0]$. Here, '$\approx$' means double~. If, for any entry, it finds that there is no $\phi$ within double-noodle precision, it'll error saying that they're not in the same projective class.
I like to have another function that calculates something like
for some suitable choice of norm (operator norm? vectorized norm?). Maybe it's already in quilc and I just don't know about it.
(Note that some of this work has already been implemented and merged by @aijony by printing a phase-invariant distance $\sqrt{1-\frac{1}{n}|\operatorname{Tr} AB^\dagger|}$ in the -m option if you have a TOLERANCE pragma.)
The text was updated successfully, but these errors were encountered:
scale-out-matrix-phases
takes matricesdouble~
. If, for any entry, it finds that there is noI like to have another function that calculates something like
for some suitable choice of norm (operator norm? vectorized norm?). Maybe it's already in quilc and I just don't know about it.
(Note that some of this work has already been implemented and merged by @aijony by printing a phase-invariant distance$\sqrt{1-\frac{1}{n}|\operatorname{Tr} AB^\dagger|}$ in the
-m
option if you have aTOLERANCE
pragma.)The text was updated successfully, but these errors were encountered: