Robert Smith
Robert Smith
Python is OK, and good catch on the CPHASE typo. My bad. I'll look into your proposed change.
I handled the real=0 and imag=0 cases, and this is the next failure I get: ``` X^T (UU^T) X not diagonal! X = # U = # UU^T = #...
In this case $UU^T = I\otimes\frac{1}{\sqrt{2}}\begin{pmatrix}1 & -i \\\\ -i & 1\end{pmatrix}$.
I think whack a mole is the only way for me, a lowly software engineer, to figure this out. (: I'm just going to call it [experimental mathematics](https://en.m.wikipedia.org/wiki/Experimental_mathematics) to save...
Is there a general problem for unitary matrices of the form $SU(2)\otimes SU(2)$ (which is the vast minority of $SU(4)$ )? I haven't tested yet.
> Oh, we could have $A$ or $B$ not be _diagonal_ but skew diagonal or some other permutation matrix. I did write a function to detect whether something looks like...
Pushed that here: https://github.com/quil-lang/quilc/pull/850/commits/5473335feab7c15f258a4656c9812a9a7b01cf12
Is this happening on ARM only? I find that this function is pretty sensitive to the underlying numerical libraries. I myself was experimenting with changing the eigenvalue function and was...
> > Would that be a long and laborious process? I think the labor would be measured in hours. It would consist of: 1. Finding the right LAPACK function (that...
@genos @notmgsk A colleague has an ARM machine and offered to help debug this. So, hopefully within a week or so we'll have time to dig in and see what...