Research
Tensor Network Simulation of Dynamic Circuits
Overview Research area: Quantum information — classical simulation of quantum circuits using tensor networks (Matrix Product States and Tree Tensor Networks) combined with a DMRG-style variational com

- arXiv
- 2609.26516
- Published
- 2026-09-22
- Authors
- Innocenzo Fulginiti, Alessandro Poggiali, Christian B. Mendl
AI summary
Overview
Research area: Quantum information — classical simulation of quantum circuits using tensor networks (Matrix Product States and Tree Tensor Networks) combined with a DMRG-style variational compression scheme.
Technical level: Advanced. The paper assumes familiarity with density matrices, projective measurements, tensor network factorizations, bond dimensions, and the Density Matrix Renormalization Group algorithm.
Scope: The paper extends a DMRG-based tensor network circuit simulator so that it can handle dynamic circuits — circuits with mid-circuit measurements and classically controlled gates — and compares a single-path sampling strategy against a multi-path branch-ensemble strategy.
What This Paper Is About
Simulating a quantum circuit on a classical computer normally means tracking one pure state. In a dynamic circuit, mid-circuit measurements produce random classical outcomes that steer later gates, so the simulation must track a whole family of possible "execution branches" whose number doubles with every measurement. The authors take an existing tensor network simulator built on the DMRG algorithm — previously used for purely unitary (static) circuits with MPS and TTN topologies — and adapt it so that measurements, classically controlled operations, and resets can be processed directly inside that workflow, then compare two ways of coping with branch explosion.
Key Contributions
-
A branch-wise formulation of dynamic-circuit simulation inside a DMRG compression workflow. Each execution branch is stored as a triple (probability p_γ, classical register configuration c_γ, tensor-network state |ψ̃_γ⟩), following the paper's Definition III.6 of the state of a dynamic circuit. Unitary gates are still grouped into "unitary chunks" of maximum size k and compressed variationally, but the chunk-building rule is modified: a chunk is closed either when it reaches k operations or as soon as a mid-circuit measurement is encountered.
-
Native tensor-level handling of non-unitary and feedback operations. A measurement on qubit Q_i is processed by contracting p_m = ⟨ψ̃_γ| P_m^{Q_i} |ψ̃_γ⟩ and then applying P_m^{Q_i}/√p_m, which modifies only the local tensor carrying that physical index and renormalizes it — no full 2^n state vector is ever reconstructed. Classically controlled unitaries are evaluated against the current classical register and either appended to the current chunk or skipped, and resets are implemented as a computational-basis measurement followed by a conditional X gate.
-
Two explicit algorithms for managing branch proliferation. Algorithm 1 is a single-path stochastic simulator that samples one measurement outcome per measurement and returns the tuple (estimated fidelity ℱ̃, path probability p_γ, final classical register c_γ, final state |ψ̃_γ⟩). Algorithm 2 is a multi-path simulator that maintains a list of active branches updated in parallel and, whenever |ℒ| > M after a measurement, retains only the M branches with the largest p_γ.
-
A benchmark plan spanning structured and random dynamic circuits. The abstract states that the methods are benchmarked on the teleportation protocol, GHZ state preparation, and randomly generated dynamic circuits, with the goal of characterizing accuracy-versus-efficiency trade-offs and supporting both MPS and TTN ansätze.
Main Findings
-
Measurement does not require a statevector: because projectors act on a single physical index, a mid-circuit measurement updates one local tensor plus a renormalization factor, keeping cost governed by bond dimensions χ_e rather than by 2^n. This is stated as a property of the construction, not as a measured speedup.
-
Branch growth is the central obstacle, not gate application: the paper states that the number of distinct execution branches grows exponentially with the number of intermediate measurements, making exact enumeration "computationally infeasible at scale." Both proposed strategies are responses to this single issue.
-
Single-path trades memory for sampling noise: the single-path strategy "avoids exponential memory growth but require[s] repeated runs to recover ensemble statistics," per the paper's own description.
-
Multi-path trades exactness for breadth: the multi-path strategy keeps several branches alive at once and truncates by probability when the count exceeds M, so its accuracy depends on the truncation threshold and on how much probability mass the discarded branches carried.
-
Estimated fidelity is accumulated multiplicatively: the simulator reports ℱ̃ as the product of partial fidelities f_{i→i+k} over all compression steps, so the reported figure compounds variational compression error along the circuit.
-
Quantitative results are not present in the supplied text. The provided content ends partway through the pseudocode of Algorithm 2, before Section IV-E and before any results, tables, plots, or conclusion. No bond dimensions, circuit widths, depths, chunk sizes k, sweep counts s, truncation thresholds M, fidelities, run counts, or error metrics are reported in the material available here. Any specific numerical comparison between the single-path and multi-path methods cannot be given from this excerpt.
Methodology in Plain English
The simulator keeps the quantum state as a network of small tensors — either a chain (MPS) or a tree (TTN) — instead of a list of 2^n complex numbers. Gates are applied in batches of up to k, and after each batch the network is re-fitted to the exactly evolved state by optimizing one tensor at a time while holding the others fixed; each local optimum has a closed form, obtained by contracting everything except that tensor into an "environment" tensor and normalizing it. A fixed, small number of sweeps s suffices for convergence, per the earlier work the paper builds on.
Dynamic operations break this clean pipeline in two ways. A measurement is non-unitary, so it cannot be folded into a batch: the simulator first flushes any pending batch, then samples an outcome according to the Born-rule probability computed by contracting the network against itself with a projector inserted, collapses the state by applying that projector to the relevant local tensor, and writes the bit into the classical register. A classically controlled gate is not random at all — once the register value is known the decision is deterministic — so it is simply evaluated and either added to the batch or dropped.
The interesting design choice is what to do about outcomes. Single-path mode flips a weighted coin at each measurement and follows one storyline to the end, which is cheap but gives a different answer every run. Multi-path mode follows both outcomes at each measurement, keeping every storyline alive with its accumulated probability, which is exact until the branch count exceeds a cap M; from then on only the M most probable branches survive, and the rest are discarded. Resets need no new machinery: measure the qubit, and flip it with an X gate if the answer was 1.
Why This Matters
Dynamic circuits are how real hardware implements error correction and feedback, so a simulator that handles them natively — rather than by enumerating every branch — is a practical tool for checking what a device is actually doing.
Impact on research: the work extends a DMRG-inspired compression framework that had only been demonstrated for static unitary circuits (with MPS in earlier work and TTN in a companion line of work) into the measurement-and-feedforward regime. It also draws a clear line between prior tensor-network treatments of mid-circuit measurement in non-adaptive circuits — such as the Markov-chain sampling approach that assumes outcomes do not influence later gates — and genuinely adaptive circuits, which the authors identify as an open gap.
Real-world applications (as motivated in the paper):
- Quantum error correction, where mid-circuit measurement and real-time feedback are a cornerstone.
- Efficient state preparation, including reducing the cost of preparing GHZ states.
- Quantum communication and distributed quantum algorithms, where real-time classical processing must interleave with quantum evolution.
- Hardware validation and benchmarking, since classical simulation is the standard way to certify what a device computed.
Industry relevance: simulators of this kind are the verification layer for near-term quantum hardware — useful for compiler and control-stack developers, for teams validating error-correction primitives before they can be run at scale, and for anyone testing dynamic-circuit compilation passes (the paper cites a compile-time pass for simplifying dynamic circuits, and a probabilistic circuit model that replaces certain mid-circuit measurements and resets with randomized unitaries).
Future Directions
- Quantifying the accuracy/efficiency frontier. The paper frames its contribution as exploring trade-offs between simulation accuracy and computational efficiency, which invites a systematic characterization of how fidelity degrades as the truncation cap M and chunk size k are varied across circuit families.
- Better branch-selection rules. The current rule is purely probability-based — keep the M largest p_γ. Whether smarter merging or reweighting of low-probability branches can extend reach is left open.
- Scaling toward regimes of interest. The cited literature includes simulations of random circuits with mid-circuit measurements used to predict the volume-law to area-law entanglement transition; a scalable dynamic-circuit simulator is a natural tool for probing such measurement-induced phenomena in larger systems.
- Beyond the two supported topologies. The framework supports MPS and TTN; extending the same branch machinery to other tensor network geometries, or coupling it to the non-adaptive Markov-chain sampling approach, are natural next steps. The paper states its results are intended as "a practical and scalable framework," with correctness and complexity analysis promised in Section IV-E — a section not included in the available text.
Target Audience
Researchers and graduate students in quantum information and tensor network methods who want to simulate dynamic circuits classically; developers of circuit simulators who already have an MPS or TTN backend and need to add measurement and classical control; and quantum-architecture or error-correction engineers who need to validate dynamic-circuit protocols such as teleportation and GHZ preparation before running them on hardware. Readers without tensor network background — bond dimensions, DMRG sweeps, environment tensors — will find the preliminaries section necessary reading.
Authors’ abstract
Dynamic circuits, which incorporate mid-circuit measurements and classically controlled operations, extend the expressive power of quantum programs and are central to applications such as quantum error correction, state preparation, and distributed quantum algorithms. However, their classical simulation is challenging due to the exponential growth of execution branches induced by mid-circuit measurements. In this work, we develop a tensor network approach for simulating dynamic circuits by extending a DMRG-based method for quantum circuit simulation to support dynamic circuit operations. To address the exponential proliferation of execution branches, we introduce and compare two strategies: a single-path stochastic approach that samples individual measurement outcomes, and a multi-path approach that maintains an ensemble of branches. We benchmark these methods on standard dynamic circuits, including the teleportation protocol and GHZ state preparation, as well as on random dynamic circuits. Our analysis explores the trade-offs between simulation accuracy and computational efficiency. These results provide a practical and scalable framework for the classical simulation of dynamic circuits.