zeros#

diffqc.dense.zeros(nqubits: int, dtype: dtype) Array#

Create |00...0> state

Parameters
  • nqubits (int) – Number of qubits

  • dtype (jnp.dtype) – dtype.

Returns

Zero state aka. |00...0>

Return type

jnp.ndarray