RY#
- diffqc.sparse.RY(c: Array, wires: Tuple[int], phi: float) Array #
Apply Rotation Y Gate
- Parameters
c (jnp.ndarray) – qubits state
wires (tuple of ints) – wire to apply.
len(wires)
must be1
phi (float) – rotation angle
- Returns
applied qubits state
- Return type
jnp.ndarray