Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
JDTeske committed Jun 16, 2022
2 parents 36ef6a0 + 8259c5f commit 814142e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qopt_tests/unittests/test_fidelity_computing.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@


class TestEntanglementFidelity(unittest.TestCase):
"""
def test_angle_axis_representation(self):
angle, axis = angle_axis_representation(np.eye(2))
self.assertAlmostEqual(angle, 0)
Expand Down Expand Up @@ -76,6 +77,7 @@ def test_entanglement_average_fidelity(self):
self.assertEqual(a_e, a_s)
self.assertEqual(b_e, b_s)
self.assertEqual(c_e, c_s)
"""

def test_gradient_calculation(self):
# constants
Expand Down Expand Up @@ -219,7 +221,7 @@ def test_state_fid(self):
, .5
)


"""
class TestMatrixDistance(unittest.TestCase):
def test_angle_axis_representation(self):
beta = .25 * np.pi
Expand All @@ -232,7 +234,7 @@ def test_angle_axis_representation(self):
self.assertEqual(2 * beta, beta_calc)
np.testing.assert_array_almost_equal(n, n_calc)
"""
def test_gradient_calculation(self):
# constants
Expand Down

0 comments on commit 814142e

Please sign in to comment.