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

Classes

struct  BobInfo
 
struct  RunningStats
 
struct  TcpSendState
 
struct  TrialResult
 

Functions

void TryCorrections (Ptr< QNode > bob, NetController &net, BobInfo &info, Ptr< DepolarizingQMap > depol, Ptr< UniformRandomVariable > u, std::shared_ptr< Qubit > qRef, Time tStart, bool verbose)
 
static void OnControlRxTrace (Ptr< QNode > bob, BobInfo *bobInfo, NetController *net, Ptr< DepolarizingQMap > depol, Ptr< UniformRandomVariable > u, std::shared_ptr< Qubit > qRef, Time *tStart, bool verbose, Ptr< const Packet > packet, const Address &)
 
static void OnTcpConnectSuccess (std::shared_ptr< TcpSendState > tcpState, Ptr< Socket > s)
 
static void OnTcpConnectFail (bool verbose, Ptr< Socket > s)
 
TrialResult RunOnce (const std::string &proto, double distanceKm, double TDepMs, bool verbose)
 

Function Documentation

◆ OnControlRxTrace()

static void anonymous_namespace{q2ns-5-noisy-teleportation-advanced-example.cc}::OnControlRxTrace ( Ptr< QNode bob,
BobInfo bobInfo,
NetController net,
Ptr< DepolarizingQMap depol,
Ptr< UniformRandomVariable >  u,
std::shared_ptr< Qubit qRef,
Time *  tStart,
bool  verbose,
Ptr< const Packet >  packet,
const Address &   
)
static

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

References anonymous_namespace{q2ns-5-noisy-teleportation-advanced-example.cc}::BobInfo::bitsArrived, anonymous_namespace{q2ns-5-noisy-teleportation-advanced-example.cc}::BobInfo::m1, anonymous_namespace{q2ns-5-noisy-teleportation-advanced-example.cc}::BobInfo::m2, anonymous_namespace{q2ns-5-noisy-teleportation-advanced-example.cc}::BobInfo::tBitsArrive, and TryCorrections().

Referenced by RunOnce().

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

◆ OnTcpConnectFail()

static void anonymous_namespace{q2ns-5-noisy-teleportation-advanced-example.cc}::OnTcpConnectFail ( bool  verbose,
Ptr< Socket >  s 
)
static

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

Referenced by RunOnce().

Here is the caller graph for this function:

◆ OnTcpConnectSuccess()

static void anonymous_namespace{q2ns-5-noisy-teleportation-advanced-example.cc}::OnTcpConnectSuccess ( std::shared_ptr< TcpSendState tcpState,
Ptr< Socket >  s 
)
static

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

Referenced by RunOnce().

Here is the caller graph for this function:

◆ RunOnce()

◆ TryCorrections()

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