Select one answer per question. Submit to see the explanation.
qc.assign_parameters({theta: np.pi/2})
theta = Parameter("θ") qc = QuantumCircuit(1) qc.ry(theta, 0) qc = qc.assign_parameters({theta: np.pi/2},inplace=True)