FermionicLattice.to_fermionic_op

abstract FermionicLattice.to_fermionic_op()[source]

Creates the Hamiltonian of the lattice in second quantization.

Return type:

FermionicOp

Returns:

The Hamiltonian as a FermionicOp.