Fix: Unitary Decomposition -> Conj inplace not handled correct

This commit is contained in:
h z
2024-12-15 01:21:59 +00:00
parent 1f46ce1cf0
commit dc10d86866
9 changed files with 135 additions and 23 deletions

View File

@@ -172,7 +172,6 @@ public static class ComplexMatrixExtension
{
for (int i = 1; i <= a.Dim; i++)
a[i, i] /= (a[i, i] * Complex.Conjugate(a[i, i]));
}
else
{
@@ -186,7 +185,5 @@ public static class ComplexMatrixExtension
}
}
}