We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83b8ddf commit 316dc91Copy full SHA for 316dc91
qiskit/qobj/converters/pulse_instruction.py
@@ -902,7 +902,7 @@ def _convert_parametric_pulse(
902
try:
903
pulse_name = instruction.label
904
except AttributeError:
905
- sorted_params = sorted(instruction.parameters.keys())
+ sorted_params = sorted(tuple(instruction.parameters.items()), key=lambda x: x[0])
906
base_str = "{pulse}_{params}".format(
907
pulse=instruction.pulse_shape, params=str(sorted_params)
908
)
0 commit comments