ffsim.qiskit.final_state_vector¶
- ffsim.qiskit.final_state_vector(circuit, norb=None, nelec=None)[source]¶
Return the final state vector of a fermionic quantum circuit.
In a spinful circuit, spinless orbital rotation, fermionic FFT, Givens ansatz, diagonal Coulomb evolution, and UCJ gates may act on a single spin sector. Each such gate must act on all
norbalpha qubits or allnorbbeta qubits, in ascending order.- Parameters:
- Return type:
- Returns:
The final state vector that results from applying the circuit to the vacuum state.