![]() |
Q2NS dev
ns-3 module
|
Teleportation with classical communication (UDP) More...
#include "ns3/q2ns-netcontroller.h"#include "ns3/q2ns-qnode.h"#include "ns3/q2ns-qubit.h"#include "ns3/core-module.h"#include "ns3/internet-module.h"#include "ns3/network-module.h"#include "ns3/point-to-point-module.h"#include "ns3/simulator.h"#include <iostream>Go to the source code of this file.
Classes | |
| struct | anonymous_namespace{q2ns-3-teleportation-comms-example.cc}::BobInfo |
Namespaces | |
| namespace | anonymous_namespace{q2ns-3-teleportation-comms-example.cc} |
Functions | |
| void | anonymous_namespace{q2ns-3-teleportation-comms-example.cc}::TryCorrections (Ptr< QNode > bob, BobInfo &bobInfo) |
| int | main () |
Teleportation with classical communication (UDP)
Demonstrates:
Definition in file q2ns-3-teleportation-comms-example.cc.
| int main | ( | ) |
Definition at line 74 of file q2ns-3-teleportation-comms-example.cc.
References q2ns::NetController::CreateNode(), q2ns::gates::H(), q2ns::NetController::InstallQuantumLink(), m1, m2, q2ns::NetController::SetQStateBackend(), and anonymous_namespace{q2ns-3-teleportation-comms-example.cc}::TryCorrections().