View source on GitHub |
Generate the basis vectors into the qubit basis representing all states
fqe.util.qubit_config_sector(
nqubits: int,
pnum: int,
m_s: int
) -> List[numpy.ndarray]
which have a definite particle number and spin.
Args | |
---|---|
nqubits (int) - the number of qubits in the qpu pnum (int) - the number of particles to build vectors into m_s (int) - the s_z spin quantum number |
Returns | |
---|---|
list[numpy.array(dtype=numpy.complex64)] |