Skip to content

Commit

Permalink
use == over equiv
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryoris committed Jan 7, 2025
1 parent 583ec3d commit 242492e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python/transpiler/test_unitary_synthesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ def test_3q_series(self):
tqc = transpile(qc, backend, optimization_level=0, initial_layout=[0, 1, 2])

expected = np.kron(np.eye(2**2), x_mat)
self.assertTrue(Operator(tqc).equiv(expected))
self.assertEqual(Operator(tqc), Operator(expected))

def test_3q_measure_all(self):
"""Regression test of #13586."""
Expand Down

0 comments on commit 242492e

Please sign in to comment.