TRANSMISSION // 2607.12444v2
A Visual Replay Tool for Quantum Network Simulations
Source published
Q2NSViz turns quantum-network simulation traces into interactive timelines, showing how qubits, messages and entanglement change during a protocol.

Quantum networks can be difficult to follow in raw logs: entanglement links may change as a protocol runs, and they need not match physical connections between devices. Q2NSViz replays simulation traces as a visual, navigable timeline. It displays information recorded in a trace; it does not simulate or reconstruct quantum states.
Why make quantum-network simulations visible?
A quantum network uses physical connections, such as channels between nodes, as well as entanglement: a quantum relationship that can link qubits at different locations. Protocols may create, transform, consume or discard entanglement as they run. The resulting pattern can differ from the physical network layout, making raw logs an awkward way to understand what happened and when.
Francesco Mazza, Marcello Caleffi and Angela Sara Cacciapuoti present Q2NSViz, an open-source Python tool for replaying and inspecting completed quantum-network simulation traces. Its focus is making recorded executions easier to explore. The paper describes a trace viewer, not a tool for calculating the underlying quantum states.
From trace file to timeline
The software reads events in a documented JSON or newline-delimited JSON (NDJSON) format. Q2NSViz parses the events and reconstructs the network state over time. Its supported event types and trace format are specified by the project; the paper does not claim that it can interpret every possible event from any quantum-network simulation.
The replay engine is Qt-free, while the interactive desktop application uses PyQt6. Other trace producers can create files in the documented format for replay. Python applications can also import the replay engine directly, without using the graphical interface. Q2NS is the reference source of traces; the paper also describes independent producers, including a SeQUeNCe demonstration extended to emit the required format.
Users can play, step through or scrub along a timeline. Views show the physical network alongside qubits in storage or in transit, classical bits and packets, measurements, and an entanglement graph. In that graph, qubits are vertices and entanglement relationships are edges. Seeing both graphs together helps distinguish a physical channel from an entanglement link arising during protocol execution.
A worked example follows entanglement swapping at a repeater: a Bell-state measurement at the intermediate node changes which end qubits are entangled. Another example shows graph-state manipulation, including measurements, classical messages and corrections. These are visual replays of events recorded in traces, not new experimental results.
What the authors tested
The replay engine turns events into state changes and saves periodic checkpoints. To display a requested time, it restores the nearest earlier checkpoint and replays the following actions, rather than starting from the beginning of the trace each time. The paper reports performance tests on synthetic repeater-chain traces, including traces with up to one million events. For a trace with 100,000 events, checkpointing reduced random-time lookup latency by more than two orders of magnitude, with no measurable memory cost in that test. These are software benchmarks on the stated setup, not evidence about the speed or accuracy of quantum-network protocols.
For validation, the authors used example traces covering Bell-pair distribution, teleportation, entanglement swapping, graph-state manipulation and lossy channels. The test suite checked that incremental replay matched replay from scratch at every keyframe. The paper also says the software validates traces and reports issues such as out-of-order timestamps and references to missing nodes or qubits.
What the picture can—and cannot—show
A central boundary matters: Q2NSViz does not simulate or reconstruct quantum states. It displays the state and entanglement metadata contained in a trace and updates the entanglement graph using graph operations. So the visualizer presents what the trace records; evaluating the physical model behind that trace is outside the tool’s stated role. The paper does not report a test of whether users learn faster or debug more accurately with the interface.
The current version supports thirteen event types. The documented format allows optional fields and new event types, but unrecognized event types are skipped. Use with another simulator depends on that simulator producing compatible traces; Q2NSViz is not automatically a viewer for every simulator’s output.
The authors propose debugging, education and demonstrations as uses, but the paper does not report a controlled study of those benefits. This account is based on an arXiv preprint; the supplied source does not establish its peer-review status. Capabilities may change as the software develops. Q2NSViz is available under an MIT license, with code and an archived release linked by the authors.
- quantum networks
- quantum simulation
- entanglement
- visualization
- open-source software
- Q2NSViz
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How Much Group-Wide Entanglement Can a Quantum Network Share?
Source published
Shared keywords: quantum networks
A measurement criterion for quantum coherence transfer
Source published
Shared keywords: quantum networks
A resource-driven framework for configurable quantum entanglement
Source published
Shared keywords: quantum networks
Two different quantum systems share entanglement across a lab
Source published
Shared keywords: quantum networks
A new way to bound GHZ entanglement in quantum networks
Source published
Shared keywords: quantum networks