We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given a bindings array, it is natural to ask for the name of the parameters. Currently the best way I can see to do it is:
np.array(list(chain.from_iterable(bindings_array.data)))
This suggests to add a function (or a property) BindingsArray.parameter_names.
BindingsArray.parameter_names
In addition, document that the columns of BindingsArray.as_array match parameter_names when as_array's parameters argument is not used.
BindingsArray.as_array
parameter_names
as_array
parameters
Source of these requests, by @wshanks: Qiskit/qiskit-ibm-runtime#2093 (review)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a bindings array, it is natural to ask for the name of the parameters. Currently the best way I can see to do it is:
This suggests to add a function (or a property)
BindingsArray.parameter_names
.In addition, document that the columns of
BindingsArray.as_array
matchparameter_names
whenas_array
'sparameters
argument is not used.Source of these requests, by @wshanks: Qiskit/qiskit-ibm-runtime#2093 (review)
The text was updated successfully, but these errors were encountered: