Module: openfermion.circuits.trotter.diagonal_coulomb_trotter_error

Code for evaluating Trotter errors for diagonal Coulomb Hamiltonians.

Functions

bit_mask_of_modes_acted_on_by_fermionic_terms(...): Create a mask of which modes of the system are acted on by which terms.

diagonal_coulomb_potential_and_kinetic_terms_as_arrays(...): Give the potential and kinetic terms of a diagonal Coulomb Hamiltonian as arrays.

fermionic_swap_trotter_error_operator_diagonal_two_body(...): Compute the fermionic swap network Trotter error of a diagonal two-body Hamiltonian.

split_operator_trotter_error_operator_diagonal_two_body(...): Compute the split-operator Trotter error of a diagonal two-body Hamiltonian.