Skip to content

Network

The alice.network module provides the core tensor network data structures: MPS, MPO, Network, and the observe function. These objects are re-exported at the top-level alice namespace.

Classes

Class Description
Network Base 1D tensor network chain
MPS Matrix product state
MPO Matrix product operator

Functions

Function Description
init_mps Construct an initial MPS for DMRG
observe Compute expectation value ⟨ψ|O|ψ⟩

See Also

  • Core Concepts — conceptual introduction to MPS and MPO.
  • Interaction — Interaction dataclasses used together with MPO.
  • Hamiltonian — assembles an MPO from a list of interactions.