We're celebrating World Quantum Day 2022! Join us


Generate indexes corresponding to the coefficient that is associated

with a specific particle number

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

list[int] - integers indicating where in the qubit wavefunction the basis state corresponds to particle number