Skip to content

Commit

Permalink
Fix variable lint complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Jul 16, 2024
1 parent a0bbbef commit 92dfc19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/python/qasm3/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,11 @@ def test_custom_gate_with_params_bound_main_call(self):

def test_multiple_pauli_evolution_gates(self):
"""Pauli evolution gates should be detected as distinct."""
t = ParameterVector("t", 3)
vec = ParameterVector("t", 3)
qc = QuantumCircuit(2)
qc.append(PauliEvolutionGate(Pauli("XX"), t[0]), [0, 1])
qc.append(PauliEvolutionGate(Pauli("YY"), t[1]), [0, 1])
qc.append(PauliEvolutionGate(Pauli("ZZ"), t[2]), [0, 1])
qc.append(PauliEvolutionGate(Pauli("XX"), vec[0]), [0, 1])
qc.append(PauliEvolutionGate(Pauli("YY"), vec[1]), [0, 1])
qc.append(PauliEvolutionGate(Pauli("ZZ"), vec[2]), [0, 1])
expected = """\
OPENQASM 3.0;
include "stdgates.inc";
Expand Down

0 comments on commit 92dfc19

Please sign in to comment.