Skip to content

Commit

Permalink
Update test/python/qpy/test_circuit_load_from_qpy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish authored Jul 7, 2023
1 parent 431368c commit acad493
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/python/qpy/test_circuit_load_from_qpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ def assert_roundtrip_equal(self, circuit):
new_circuit = load(qpy_file)[0]

self.assertEqual(circuit, new_circuit)
if circuit.layout is not None:
self.assertEqual(circuit.layout, new_circuit.layout)
self.assertEqual(circuit.layout, new_circuit.layout)


@ddt
Expand Down

0 comments on commit acad493

Please sign in to comment.