![]() |
Q2NS dev
ns-3 module
|
Bell pair creation and qubit transmission between two nodes. More...
#include "ns3/core-module.h"#include "ns3/q2ns-netcontroller.h"#include "ns3/q2ns-qnode.h"#include "ns3/q2ns-qubit.h"#include "ns3/simulator.h"#include <iostream>Go to the source code of this file.
Functions | |
| int | main (int, char **) |
Bell pair creation and qubit transmission between two nodes.
Demonstrates: Quantum links, CreateBellPair, Send, receive callbacks. See docs/README-examples.md for detailed walkthrough.
Definition in file q2ns-1-bell-send-example.cc.
| int main | ( | int | , |
| char ** | |||
| ) |
Definition at line 27 of file q2ns-1-bell-send-example.cc.
References q2ns::NetController::CreateNode(), q2ns::NetController::InstallQuantumLink(), q2ns::NetController::SetQStateBackend(), and q2ns::Z.