fqe.util.qubit_particle_number_index_spin

Generate indexes corresponding to the coefficient that is associated

with a specific particle number and spin

nqubits (int) - the number of qubits to act upon pnum (int) - the number of particles to view

list[(int int)] - tuples of integers indicating where in the qubit wavefunction the basis state corresponds to particle number and return the corresponding spin