Qiskit Noise Models for backend configurations

class quantinuum_schemas.models.aer_noise.AerNoiseModel(
*,
errors: List[Annotated[AerQuantumError | AerReadoutError, FieldInfo(annotation=NoneType, required=True, discriminator='type')]],
)

Validation model for qiskit-aer’s NoiseModel class.

to_native() NoiseModel

Convert to a qiskit native NoiseModel.

class quantinuum_schemas.models.aer_noise.AerQuantumError(
*,
type: Literal['qerror'] = 'qerror',
id: str = None,
operations: List[str] | None = None,
instructions: List[List[Annotated[QiskitBasicInstruction | QiskitPauliInstruction | QiskitKrausInstruction, FieldInfo(annotation=NoneType, required=True, discriminator='name')]]],
probabilities: Annotated[List[float], MinLen(min_length=1)],
gate_qubits: List[List[int]],
)

Validation model for qiskit-aer’s QuantumError class.

noise_ops() List[Tuple['QuantumCircuit', float]]

Return a list of qiskit Circuit and probability tuples for use in QuantumError.

class quantinuum_schemas.models.aer_noise.AerReadoutError(
*,
type: Literal['roerror'] = 'roerror',
operations: List[str] | None = None,
probabilities: Annotated[List[List[float]], MinLen(min_length=1)],
gate_qubits: List[List[int]],
)

Validation model for qiskit-aer’s ReadoutError class.

class quantinuum_schemas.models.aer_noise.CrosstalkParams(
*,
zz_crosstalks: dict[Tuple[Register, Register], float],
single_q_phase_errors: dict[Register, float],
two_q_induced_phase_errors: dict[Tuple[Register, Register], Tuple[Register, float]],
non_markovian_noise: list[Tuple[Register, float, float]],
virtual_z: bool,
N: float,
gate_times: dict[Tuple[str, Tuple[Register, ...]], float],
phase_damping_error: dict[Register, float],
amplitude_damping_error: dict[Register, float],
)

Based on pytket-qiskit’s CrosstalkParams model. Stores various parameters for modelling crosstalk noise.

classmethod from_pytket_crosstalk_params(
crosstalk_params: PytketCrosstalkParams,
) CrosstalkParams

Construct a CrosstalkParams from a pytket CrosstalkParams.

to_pytket_crosstalk_params() PytketCrosstalkParams

Construct a pytket CrosstalkParams from a CrosstalkParams.

class quantinuum_schemas.models.aer_noise.QiskitBasicInstruction(
*,
name: Literal['id', 'x', 'y', 'z', 'reset'],
qubits: List[int],
)

Validation model for qiskit instructions without params.

class quantinuum_schemas.models.aer_noise.QiskitKrausInstruction(
*,
name: Literal['kraus'] = 'kraus',
params: List[List[List[List[float]]]],
qubits: List[int],
)

Validation model for qiskit kraus operator instructions.

class quantinuum_schemas.models.aer_noise.QiskitPauliInstruction(
*,
name: Literal['pauli'] = 'pauli',
params: List[str],
qubits: List[int],
)

Validation model for qiskit pauli string instructions.