Class QbNoiseModel
Defined in File QuantumBrillianceNoiseModel.hpp
Inheritance Relationships
Base Type
public qb::NoiseModel(Class NoiseModel)
Class Documentation
-
class QbNoiseModel : public qb::NoiseModel
QB Noise Model: Noise model of QB’s NV quantum devices.
Public Types
Public Functions
-
QbNoiseModel(Generation gen = Generation::nm2)
Construct a new Qb Noise Model object.
- Parameters
gen – Specifies the noise model generation
-
QbNoiseModel(Generation gen, double t1_ns, double t2_ns)
Construct a new Qb Noise Model object.
- Attention
This is for testability only whereby we allow for variation to T1 and T2 value to verify the noise model.
- Parameters
gen – Specifies the noise model generation
t1_ns – T1 value to set (in nanoseconds)
t2_ns – T2 value to set (in nanoseconds)
-
QbNoiseModel(Generation gen, double t1_ns, double t2_ns, double single_qubit_gate_error, double two_qubit_gate_error)
Construct a new Qb Noise Model object IMPORTANT: This is for testability only whereby we allow for variation to T1, T2, and gate error value to verify the noise model.
- Parameters
gen – Specifies the noise model generation
t1_ns – T1 value to set (in nanoseconds)
t2_ns – T2 value to set (in nanoseconds)
single_qubit_gate_error – single qubit gate error (prob between 0 and 1)
two_qubit_gate_error – two qubit gate error (prob between 0 and 1)
-
NoiseProperties::ReadoutError get_ro_errors(size_t qubit) const
Get the ro errors of a qubit.
- Parameters
qubit – Qubit index
- Returns
Readout errors
-
inline NoiseProperties &get_noise_props()
Get the noise props object.
- Returns
NoiseProperties associated with the noise model.
Protected Attributes
-
NoiseProperties m_noise_prop
-
QbNoiseModel(Generation gen = Generation::nm2)