Q2NS dev
ns-3 module
Loading...
Searching...
No Matches
q2ns-1-bell-send-example.cc File Reference

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>
Include dependency graph for q2ns-1-bell-send-example.cc:

Go to the source code of this file.

Functions

int main (int, char **)
 

Detailed Description

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.

Function Documentation

◆ main()

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.

Here is the call graph for this function: