RYY#
- diffqc.sparse.RYY(c: Array, wires: Tuple[int], theta: float) Array #
Rotate YY (exp(-iYY * thta))
- Parameters
c (jnp.ndarray) – qubit state
wires (tuple of ints) – wires to apply.
len(wires)
must be2
- Returns
applied qubit state
- Return type
jnp.ndarray