- class HartreeFock(num_orbitals, num_particles, qubit_mapping='parity', two_qubit_reduction=True, sq_list=None)¶
A Hartree-Fock initial state.
int) – number of spin orbitals, has a min. value of 1.
int]) – number of particles, if it is a list, the first number is alpha and the second number if beta.
str) – mapping type for qubit operator
bool) – flag indicating whether or not two qubit is reduced
int]]) – position of the single-qubit operators that anticommute with the cliffords
ValueError – wrong setting in num_particles and num_orbitals.
ValueError – wrong setting for computed num_qubits and supplied num_qubits.
Construct the statevector of desired initial state.
Getter of the bit string represented the statevector.