Belief propagation is a message-passing algorithm, originally developed for approximate inference in graphical models, that estimates local marginal quantities by iteratively passing “messages” between neighboring nodes of a graph rather than exactly accounting for every variable at once. On a graph with no cycles it recovers the exact answer; on a graph with cycles (“loopy” belief propagation) it is only approximate, but in practice it often converges to a useful answer at a fraction of the cost of an exact computation.

Applied to tensor networks, belief propagation approximates the contraction of the network — the step that would otherwise cost exponentially more as the network’s loops and entanglement grow — by treating each tensor as a node and passing normalized messages along the network’s bonds until they converge, trading a controlled, problem-dependent amount of accuracy for a large reduction in computational cost. This makes it possible to simulate two- and three-dimensional quantum systems that an exact tensor-network contraction could not reach.