About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
ParameterVector
class qiskit.circuit.ParameterVector(name, length=0)
Bases: object
ParameterVector class to quickly generate lists of parameters.
Attributes
name
Returns the name of the ParameterVector.
params
Returns the list of parameters in the ParameterVector.
Methods
index
index(value)
Returns first index of value.
resize
resize(length)
Resize the parameter vector.
If necessary, new elements are generated. If length is smaller than before, the previous elements are cached and not re-generated if the vector is enlarged again. This is to ensure that the parameter instances do not change.
Was this page helpful?
Report a bug or request content on GitHub.