pytenet.hamiltonian¶
Construction of common quantum Hamiltonians as matrix product operators (MPOs).
Functions
|
Construct Bose-Hubbard Hamiltonian with nearest-neighbor hopping on a 1D lattice as MPO. |
|
Decode a quantum number into two separate quantum numbers. |
|
Encode a pair of quantum numbers into a single quantum number. |
|
Construct Fermi-Hubbard Hamiltonian with nearest-neighbor hopping on a one-dimensional lattice as MPO. |
|
Construct XXZ Heisenberg Hamiltonian sum J X X + J Y Y + D Z Z - h Z on a one-dimensional lattice as MPO. |
|
Construct spin-1 XXZ Heisenberg Hamiltonian sum J X X + J Y Y + D Z Z - h Z on a one-dimensional lattice as MPO. |
|
Construct Ising Hamiltonian sum J sz sz + h sz + g sx on a one-dimensional lattice as MPO. |
|
Represent a sum of fermionic creation or annihilation operators of the following form as MPO: |
|
Represent a sum of fermionic creation or annihilation operators of the following form as MPO, where sigma = 1 indicates spin-up and sigma = -1 indicates spin-down: |
|
Construct a molecular Hamiltonian as MPO, using physicists' convention for the interaction term (note ordering of k and ell): |
|
Generate the left and right gauge transformation matrices corresponding to the single-orbital rotation matrix u applied to orbitals i and i + 1. |
|
Represent a product of sums of fermionic creation and annihilation operators of the following form as MPO: |
|
Represent a product of sums of fermionic creation and annihilation operators of the following form as MPO, where sigma = 1 indicates spin-up and sigma = -1 indicates spin-down: |
|
Construct a molecular Hamiltonian as MPO, assuming a spin orbital basis and using physicists' convention for the interaction term (note ordering of k and ell): |
Classes
|
Local operator IDs for a molecular Hamiltonian. |
|
Operator graph nodes used for molecular Hamiltonian construction. |
|
Local operator IDs for a molecular Hamiltonian using a spin orbital basis. |
|
Operator graph nodes used for molecular Hamiltonian construction, assuming a spin orbital basis. |
|
Local operator conversion when transitioning from a spatial to a spin orbital basis. |