The rise of quantum computers has accelerated research in quantum networking protocols and architectures. However, real-world experimentation remains challenging because of the limited availability, high cost, and complexity of quantum hardware. As a result, simulation frameworks have become essential for protocol design, theoretical validation, and performance benchmarking. While quantum computation simulators focus on large entangled systems, quantum network simulators model dynamic, probabilistic interactions across distributed nodes with hybrid classical-quantum communication. This paper presents a modular and extensible quantum network simulation module built on ns-3, integrating classical networking with quantum components. The module supports physical and protocol-level models, including entanglement-based schemes under both ideal and noisy conditions, enabling realistic network simulations. It also allows integration and benchmarking of different quantum simulation backends within real network contexts. The proposed module is available in the ns-3 app store to facilitate further research and development in quantum networking.
The rise of quantum computers has accelerated research in quantum networking protocols and architectures. However, real-world experimentation remains challenging because of the limited availability, high cost, and complexity of quantum hardware. As a result, simulation frameworks have become essential for protocol design, theoretical validation, and performance benchmarking. While quantum computation simulators focus on large entangled systems, quantum network simulators model dynamic, probabilistic interactions across distributed nodes with hybrid classical-quantum communication. This paper presents a modular and extensible quantum network simulation module built on ns-3, integrating classical networking with quantum components. The module supports physical and protocol-level models, including entanglement-based schemes under both ideal and noisy conditions, enabling realistic network simulations. It also allows integration and benchmarking of different quantum simulation backends within real network contexts. The proposed module is available in the ns-3 app store to facilitate further research and development in quantum networking.
As quantum networking hardware remains costly and not yet widely accessible, simulation tools are essential for the design and evaluation of quantum network architectures and protocols. However, designing a scalable and computationally efficient quantum network simulator is intrinsically challenging: i) quantum dynamics must be emulated on classical computing platforms while capturing the stateful and non-local nature of entanglement, a quantum resource without any classical networking analog; ii) quantum networking is inherently hybrid, as protocol execution also fundamentally depends on classical signaling. This makes a tight and faithful co-simulation of quantum operations and classical message exchanges a core requirement. In this light, we present Q2NS, a modular and extensible quantum network simulator, built on top of ns-3, designed to seamlessly integrate quantum-network primitives with ns-3's established classical protocol stack. Q2NS adopts a modular architecture that decouples protocol control logic from node- and channel-level operations, enabling rapid prototyping and adaptation across heterogeneous and evolving Quantum Internet scenarios. Q2NS natively supports multiple quantum state representations through a unified interface, allowing interchangeable state-vector, density-matrix, and stabilizer backends. We validate Q2NS through realistic use-case studies and comprehensive benchmarks, demonstrating superior computational efficiency over representative state-of-the-art alternatives, while preserving modeling flexibility. Finally, we provide a dedicated visualization tool that jointly captures physical and entanglement-enabled connectivity and supports entangled-state manipulations, facilitating an intuitive interpretation of entanglement dynamics and protocol behavior. Q2NS offers a flexible, open, and scalable simulation platform for advancing Quantum Internet research.
Quantum network simulators are essential for the design and evaluation of quantum network architectures and protocols. However, developing an effective simulator is particularly challenging due to the stateful and non-local nature of quantum entanglement, which requires persistent state awareness and tight in-network coordination. Moreover, because quantum communication protocols inherently rely on classical signaling, a realistic simulator must seamlessly integrate classical and quantum communication primitives within a unified framework. In this work, we presentQ2NS, a modular and extensible quantum network simulation framework built on top of ns-3. The architectural design ofQ2NSenforces a clear separation of concerns between the operational functionalities of modules and entities and the overarching control logic, enabling easy adaptation to heterogeneous and rapidly evolving Quantum Internet paradigms while leveraging ns-3's mature classical networking stack. Additionally,Q2NSincludes a dedicated visualization tool to facilitate developing an intuitive understanding of entanglement-based quantum networking. This design enables accurate modeling of entanglement dynamics and protocol control logic, by providing a flexible, open, and scalable platform for advancing the Quantum Internet research.
As quantum networking hardware remains costly and not yet widely accessible, simulation tools are essential for the design and evaluation of quantum network architectures and protocols. However, designing a scalable and computationally efficient quantum network simulator is intrinsically challenging: (i) quantum dynamics must be emulated on classical computing platforms while capturing the stateful and non-local nature of entanglement, a unique quantum resource without any classical networking analog; (ii) moreover, quantum networking is inherently hybrid, as protocol execution also fundamentally depends on classical signaling. This makes a tight and faithful co-simulation of quantum operations and classical message exchanges a core requirement. In this light, we present Q2NS, a modular and extensible quantum network simulator, built on top of ns-3, designed to seamlessly integrate quantum-network primitives with ns-3’s established classical protocol stack. Q2NS adopts a modular architecture that decouples protocol control logic from node- and channel-level operations, enabling rapid prototyping and adaptation across heterogeneous and evolving Quantum Internet scenarios. Q2NS natively supports multiple quantum state representations through a unified plug-in interface, allowing interchangeable state-vector, density-matrix, and stabilizer backends. We validate Q2NS through realistic use-case studies and comprehensive benchmarks, demonstrating superior computational efficiency over representative state-of-the-art alternatives, while preserving modeling flexibility. Finally, we provide a dedicated visualization tool that jointly captures physical and entanglement-enabled connectivity and supports entangled-state manipulations, facilitating an intuitive interpretation of entanglement dynamics and protocol behavior. Overall, Q2NS offers a flexible, open, and scalable simulation platform for advancing Quantum Internet research.
Q2NS is an open-source quantum network simulator built on ns-3, the de facto standard for classical network simulation. By inheriting ns-3's mature classical stack and event-driven execution model, Q2NS enables faithful co-simulation of quantum-network dynamics and classical signaling, a core requirement for the functioning of any quantum network. Its modular architecture is designed for extensibility, with pluggable quantum-state backends (state-vector, density matrix, stabilizer) and a clean separation between network control and node-level operations. Q2NS comes with a quantum network visualizer Q2NSViz, supporting interactive inspection of both physical- and entanglement-induced connectivity graphs, helping users interpret protocol behavior and entanglement manipulation processes. We present a demonstration of Q2NS, highlighting its ability to capture and simulate the coexistence of quantum and classical communication. The proposed demonstration presents quantum communication scenarios of increasing complexity: from entanglement distribution basics to multipartite graph-state manipulation, complemented by pre-loaded examples in Q2NSViz that require no prior quantum communication or coding experience.
As quantum networking hardware remains costly and not yet widely accessible, simulation tools are essential for the design and evaluation of quantum network architectures and protocols. However, designing a scalable and computationally efficient quantum network simulator is intrinsically challenging: (i) quantum dynamics must be emulated on classical computing platforms while capturing the stateful and non-local nature of entanglement, a unique quantum resource without any classical networking analog; (ii) moreover, quantum networking is inherently hybrid, as protocol execution also fundamentally depends on classical signaling. This makes a tight and faithful co-simulation of quantum operations and classical message exchanges a core requirement. In this light, we present Q2NS, a modular and extensible quantum network simulator, built on top of ns-3, designed to seamlessly integrate quantum-network primitives with ns-3’s established classical protocol stack. Q2NS adopts a modular architecture that decouples protocol control logic from node- and channel-level operations, enabling rapid prototyping and adaptation across heterogeneous and evolving Quantum Internet scenarios. Q2NS natively supports multiple quantum state representations through a unified plug-in interface, allowing interchangeable state-vector, density-matrix, and stabilizer backends. We validate Q2NS through realistic use-case studies and comprehensive benchmarks, demonstrating superior computational efficiency over representative state-of-the-art alternatives, while preserving modeling flexibility. Finally, we provide a dedicated visualization tool that jointly captures physical and entanglement-enabled connectivity and supports entangled-state manipulations, facilitating an intuitive interpretation of entanglement dynamics and protocol behavior. Overall, Q2NS offers a flexible, open, and scalable simulation platform for advancing Quantum Internet research.
The realization of a Quantum Internet is expected to transform communication networks by enabling intrinsically secure information exchange and distributed quantum applications. However, the experimental study of large-scale quantum networks remains limited by the high cost and operational constraints of quantum hardware. To address this challenge, this paper presents the design of a platform conceived to support research and experimentation in the field of quantum networking. The proposed system provides an emulation environment that mirrors the behavior of a real quantum network, enabling researchers to test protocols and mechanisms through a set of quantum operation instructions accessible via an Application Programming Interface (API). Emulated quantum nodes can be deployed across physically distributed locations, using physical or virtual machines or virtualization containers, allowing experiments to reproduce realistic network conditions and inter-node interactions. This approach enables applications to be executed over a persistent, configurable, and interactive environment that integrates both quantum and classical communication layers. To validate the feasibility of the proposed design, a prototype has been built and used to demonstrate its operation through a multi-hop quantum teleportation proof of concept. The results confirm the viability and flexibility of the architecture, laying the foundation for a distributed framework that facilitates the development and evaluation of quantum network architectures, control mechanisms, and experimental use cases.