Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish authored Jul 24, 2024
1 parent c45d02d commit 7cdbeac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/transpiler/test_basis_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ def test_fractional_gate_in_basis_from_backendv2(self):
target = backend.target
pm = generate_preset_pass_manager(optimization_level=1, target=target, seed_transpiler=134)
cqc = pm.run(qc)
self.assertEqual(Operator(qc), Operator(cqc))
self.assertEqual(Operator(qc), Operator.from_circuit(cqc))

def test_fractional_gate_in_basis_from_custom_target(self):
"""Test transpiling with RZZ in basis of custom target."""
Expand All @@ -1272,4 +1272,4 @@ def test_fractional_gate_in_basis_from_custom_target(self):
)
pm = generate_preset_pass_manager(optimization_level=1, target=target, seed_transpiler=134)
cqc = pm.run(qc)
self.assertEqual(Operator(qc), Operator(cqc))
self.assertEqual(Operator(qc), Operator.from_circuit(cqc))

0 comments on commit 7cdbeac

Please sign in to comment.