Skip to content

Commit

Permalink
Style tweak
Browse files Browse the repository at this point in the history
Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
  • Loading branch information
jakelishman and 1ucian0 authored Apr 17, 2023
1 parent ab9114d commit e619d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/circuit/quantumcircuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4933,7 +4933,7 @@ def _qasm2_define_custom_operation(operation, existing_gate_names, gates_to_defi

if parameterized_operation.params:
parameters_qasm = (
"(" + ",".join(f"param{i}" for i, _ in enumerate(parameterized_operation.params)) + ")"
"(" + ",".join(f"param{i}" for i in range(len(parameterized_operation.params))) + ")"
)
else:
parameters_qasm = ""
Expand Down

0 comments on commit e619d50

Please sign in to comment.