Commit 929432ea authored by kerry-he's avatar kerry-he
Browse files

Update ptest_quantentr.py

parent fe78c167
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ class QBP(ProductionTestCase):

        Y = np.random.randn(4, 4) + np.random.randn(4, 4)*1j
        Y = Y @ Y.conj().T
        self.Y = Y = Y / np.linalg.trace(Y) * 5.0
        self.Y = Y = Y / np.trace(Y) * 5.0

        Dy, Uy = np.linalg.eigh(Y)
        logY = Uy @ np.diag(np.log(Dy)) @ Uy.conj().T