Fix: Unitary Decomposition -> Conj inplace not handled correct
This commit is contained in:
@@ -24,6 +24,7 @@ public class SUTestFix : BaseTest
|
||||
-0.5330307462242154 + 0.669854044098976 * AlgebraConstant.I
|
||||
);
|
||||
Console.WriteLine(y.Det());
|
||||
Console.WriteLine((x.U * x.U.Hermitian()).Representation);
|
||||
Assert.IsTrue((x.U * x.U.Hermitian()).IsEqualApprox(C22.One));
|
||||
Assert.IsTrue(x.D.Det().IsEqualApprox(1));
|
||||
Console.WriteLine(x.D.PythonRepresentation);
|
||||
|
||||
Reference in New Issue
Block a user