CPhaseShift00#

diffqc.sparse.CPhaseShift00(c: Array, wires: Tuple[int], phi: float) Array#

Apply Phase Shift Gate for |00>

Parameters
  • c (jnp.ndarray) – qubits state

  • wires (tuple of ints) – wire to apply. len(wires) must be 2

  • phi (float) – rotation angle

Returns

applied qubits state

Return type

jnp.ndarray