QInterfaceNoisy¶
Defined in qinterface_noisy.hpp.
The API is provided by Qrack::QInterface. Qrack::QInterfaceNoisy adds depolarizing noise to every gate executed on the simulator instance. Noise level can be controlled with SetNoiseParameter(real1_f) or the environment variable QRACK_GATE_DEPOLARIZATION.
-
inline virtual void Qrack::QInterfaceNoisy::SetNoiseParameter(real1_f lambda)¶
Set the noise level option (only for a noisy interface)
If this is a QInterfaceNoisy, adjust the noise level per gate.