fqe.util.qubit_particle_number_sector

Generate the basis vectors into the qubit basis representing all states

which have a definite particle number.

nqubits (int) - the number of qubits in the qpu pnum (int) - the number of particles to build vectors into

list[numpy.array(dtype=numpy.complex64)]