qiskit.circuit.QuantumCircuit.rv¶
- QuantumCircuit.rv(vx, vy, vz, qubit)[fuente]¶
Apply
RVGate
.For the full matrix form of this gate, see the underlying gate documentation.
Rotation around an arbitrary rotation axis \(v\), where \(|v|\) is the angle of rotation in radians.
- Parámetros
vx (Union[ParameterExpression, float]) – x-component of the rotation axis.
vy (Union[ParameterExpression, float]) – y-component of the rotation axis.
vz (Union[ParameterExpression, float]) – z-component of the rotation axis.
qubit (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) – The qubit(s) to apply the gate to.
- Devuelve
A handle to the instructions created.
- Tipo del valor devuelto