Return the dual basis Hamiltonian as QubitOperator.
openfermion.hamiltonians.jordan_wigner_dual_basis_hamiltonian(
grid: openfermion.utils.Grid
,
geometry: Optional[List[Tuple[str, Tuple[Union[int, float], Union[int, float], Union[
int, float]]]]] = None,
spinless: bool = False,
include_constant: bool = False
) -> openfermion.ops.QubitOperator
Args |
grid
|
Grid
The discretization to use.
|
geometry
|
A list of tuples giving the coordinates of each atom.
example is [('H', (0, 0, 0)), ('H', (0, 0, 0.7414))].
Distances in atomic units. Use atomic symbols to specify atoms.
|
spinless
|
bool
Whether to use the spinless model or not.
|
include_constant
|
bool
Whether to include the Madelung constant.
|
Returns |
hamiltonian (QubitOperator)
|