RZZ#
- diffqc.sparse.RZZ(c: Array, wires: Tuple[int], theta: float) Array #
Rotate ZZ (exp(-iZZ * 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