expectY#

diffqc.dense.expectY(c: Array, wires: Tuple[int]) float#

Expectation of Y measurement

Parameters
  • c (jnp.ndarray) – qubit state

  • wire (tuple of ints) – wires to measure. len(wires) must be 1