View source on GitHub |
Create a singlet UCCSD generator for a system with n_electrons
openfermion.circuits.uccsd_singlet_generator(
packed_amplitudes, n_qubits, n_electrons, anti_hermitian=True
)
This function generates a FermionOperator for a UCCSD generator designed to act on a single reference state consisting of n_qubits spin orbitals and n_electrons electrons, that is a spin singlet operator, meaning it conserves spin.
Returns | |
---|---|
generator
|
FermionOperator
Generator of the UCCSD operator that builds the UCCSD wavefunction. |