qml.spin

Overview

This module contains functions and classes for creating and manipulating Hamiltonians for the spin models.

Functions

fermi_hubbard(lattice, n_cells[, hopping, …])

Generates the Hamiltonian for the Fermi-Hubbard model on a lattice.

heisenberg(lattice, n_cells[, coupling, …])

Generates the Hamiltonian for the Heisenberg model on a lattice.

transverse_ising(lattice, n_cells[, …])

Generates the Hamiltonian for the transverse-field Ising model on a lattice.