pytenet.hamiltonian_quadratic_fermionic

Represent a product of sums of fermionic creation and annihilation operators as a matrix product operator (MPO).

Functions

quadratic_fermionic_mpo(coeffc, coeffa)

Represent a product of sums of fermionic creation and annihilation operators of the following form as an MPO:

quadratic_spin_fermionic_mpo(coeffc, coeffa, ...)

Represent a product of sums of fermionic creation and annihilation operators of the following form as an MPO, where sigma = 1 indicates spin-up and sigma = -1 indicates spin-down: