qiskit.circuit.QuantumCircuit.bind_parameters¶
- QuantumCircuit.bind_parameters(values)[source]¶
Assign numeric parameters to values yielding a new circuit.
If the values are given as list or array they are bound to the circuit in the order of
parameters
(see the docstring for more details).To assign new Parameter objects or bind the values in-place, without yielding a new circuit, use the
assign_parameters()
method.- প্যারামিটার
values (Union[Mapping[Parameter, float], Sequence[float]]) --
{parameter: value, ...}
or[value1, value2, ...]
- রেইজেস
CircuitError -- If values is a dict and contains parameters not present in the circuit.
TypeError -- If values contains a ParameterExpression.
- রিটার্নস
Copy of self with assignment substitution.
- রিটার্ন টাইপ