![]() |
Q2NS dev
ns-3 module
|
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) |
| 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().
| 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 | ||
| ) |
Definition at line 112 of file q2ns-5-noisy-teleportation-example.cc.
References anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::bitsArrived, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::completionMs, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::done, q2ns::QMapContext::elapsedTime, q2ns::analysis::Fidelity(), anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::finalFidelity, q2ns::NetController::GetState(), anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::m1, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::m2, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::qRemote, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::qubitArrived, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::tBitsArrive, anonymous_namespace{q2ns-5-noisy-teleportation-example.cc}::BobInfo::tQubitArrive, q2ns::gates::X(), and q2ns::gates::Z().
Referenced by RunOnce().