Q2NS dev
ns-3 module
Loading...
Searching...
No Matches
q2ns-qmap.h File Reference

Declares q2ns::QMap and standard channel-map models. More...

#include "ns3/nstime.h"
#include "ns3/object.h"
#include "ns3/ptr.h"
#include "ns3/random-variable-stream.h"
#include "ns3/q2ns-types.h"
#include <cmath>
#include <functional>
#include <memory>
#include <vector>
Include dependency graph for q2ns-qmap.h:

Go to the source code of this file.

Classes

struct  q2ns::QMapContext
 Optional per-sample context passed to QMaps. More...
 
class  q2ns::QMap
 Abstract base class for channel map models. More...
 
class  q2ns::LambdaQMap
 QMap implementation that wraps a user-provided lambda. More...
 
class  q2ns::ConditionalQMap
 QMap wrapper that conditionally applies another QMap. More...
 
class  q2ns::DephasingQMap
 Dephasing noise model that applies Z with probability p. More...
 
class  q2ns::DepolarizingQMap
 Trajectory-style depolarizing model that applies a random Pauli from {X, Y, Z} with probability p. More...
 
class  q2ns::LossQMap
 Erasure model that marks the qubit lost with probability p. More...
 
class  q2ns::RandomGateQMap
 QMap that samples one gate from a weighted distribution and applies it. More...
 
class  q2ns::RandomUnitaryQMap
 QMap that applies one Haar-random single-qubit SU(2) unitary. More...
 

Namespaces

namespace  q2ns
 

Detailed Description

Declares q2ns::QMap and standard channel-map models.

Definition in file q2ns-qmap.h.