Q2NS dev
ns-3 module
Loading...
Searching...
No Matches
anonymous_namespace{q2ns-5-noisy-teleportation-example.cc} Namespace Reference

Classes

struct  BobInfo
 
struct  RunningStats
 
struct  TrialResult
 

Functions

void TryCorrections (Ptr< QNode > bob, NetController &net, BobInfo &info, Ptr< DepolarizingQMap > depol, Ptr< UniformRandomVariable > u, std::shared_ptr< Qubit > qIdealPlus, Time tStart, bool verbose)
 
TrialResult RunOnce (double distanceKm, double TDepMs, bool verbose)
 

Function Documentation

◆ RunOnce()

TrialResult anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::RunOnce ( double  distanceKm,
double  TDepMs,
bool  verbose 
)

Definition at line 158 of file q2ns-5-noisy-teleportation-example.cc.

References anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::bitsArrived, q2ns::NetController::CreateNode(), q2ns::gates::H(), q2ns::NetController::InstallQuantumLink(), anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::m1, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::m2, q2ns::NetController::SetQStateBackend(), anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::tBitsArrive, and TryCorrections().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TryCorrections()

void anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::TryCorrections ( Ptr< QNode bob,
NetController net,
BobInfo info,
Ptr< DepolarizingQMap depol,
Ptr< UniformRandomVariable >  u,
std::shared_ptr< Qubit qIdealPlus,
Time  tStart,
bool  verbose 
)