qat.qpus.NoisyQProc

class qat.qpus.NoisyQProc(hardware_model=None, sim_method='deterministic', n_samples=100000, backend_simulator=None, error=None, tol_spam_reconstruction=1e-10, use_GPU=False, precision=2, **kwargs)

QPU for noisy simulations.

Parameters
  • hardware_model (qat.hardware.HardwareModel) – description of the HardwareModel

  • sim_method (string, optional) – simulation method (deterministic|stochastic). Defaults to deterministic.

  • n_samples (int, optional) – number of samples for stochastic simulation. Defaults to 100000.

  • backend_simulator (QPU, optional) – backend ideal-circuit simulator for stochastic simulation (e.g qat.qpus.LinAlg instance). Defaults to qat.qpus.LinAlg instance.

  • use_GPU (bool) – variable to off load simulations to LinAlg running on a GPU

  • precision (int) – precision in which the simulations are performed (only when use_GPU is True). Defaults to 2 i.e. double precision