![]() |
Q2NS dev
ns-3 module
|
Teleportation without any classical communication. More...
#include "ns3/q2ns-netcontroller.h"#include "ns3/q2ns-qnode.h"#include "ns3/q2ns-qubit.h"#include "ns3/core-module.h"#include "ns3/simulator.h"#include <iostream>Go to the source code of this file.
Functions | |
| int | main () |
Teleportation without any classical communication.
Demonstrates: Quantum links, CreateBellPair, Send, receive callbacks. See docs/README-examples.md for detailed walkthrough.
Definition in file q2ns-3-teleportation-basic-example.cc.
| int main | ( | ) |
Definition at line 29 of file q2ns-3-teleportation-basic-example.cc.
References q2ns::NetController::CreateNode(), q2ns::gates::H(), q2ns::NetController::InstallQuantumLink(), q2ns::NetController::SetQStateBackend(), q2ns::gates::X(), and q2ns::gates::Z().