qrunch.quantum.error_mitigation.estimator.pauli_noise_cancellation.noise_models.dephasing

Module containing dephasing noise model.

Classes

DephasingNoiseModel

Baseclass for dephasing noise model.

class DephasingNoiseModel

Bases: NoiseModel

Baseclass for dephasing noise model.

__init__(qubit_error: float, spam_error: float = 0.0) None

Initialize dephasing gate noise model.

Parameters:
  • qubit_error (float) – qubit error rate.

  • spam_error (float) – State Preparation and Measurement error rate.

Raises:

ValueError – If rates are not between 0 and 1.

Return type:

None

get_kraus(qubit_indices: tuple[int, ...]) KrausOperation

Get Kraus operation of dephasing.

Parameters:

qubit_indices (tuple[int, ...]) – Qubits to apply the noise model to.

Return type:

KrausOperation