We're celebrating World Quantum Day 2022! Join us

fqe.util.rand_wfn

Utility for generating random normalized wavefunctions.

dim (int) - length of the wavefunction sparse (string) - a string indicating an approximate measure of how often zeros should show up in the wavefunction

numpy.array(dim=dim, dtype=numpy.complex64)