Skip to content

Commit

Permalink
Update qpy reference to ParameterVector._params
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Jun 12, 2024
1 parent 4f75098 commit cae4bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/qpy/binary_io/value.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _read_parameter_vec(file_obj, vectors):
vector = vectors[name][0]
if vector[data.index].uuid != param_uuid:
vectors[name][1].add(data.index)
vector._params[data.index] = ParameterVectorElement(vector, data.index, uuid=param_uuid)
vector._all_params[data.index] = ParameterVectorElement(vector, data.index, uuid=param_uuid)
return vector[data.index]


Expand Down

0 comments on commit cae4bd2

Please sign in to comment.