Skip to main content
IBM Quantum Platform

qiskit_noise_learning.models.LogFidelitySpace

class qiskit_noise_learning.models.LogFidelitySpace(gate_set: GateSet)

GitHub

Bases: IndexedSpace[FidelityIndex]

The space of log fidelities of a gate set.

The basis indices are the FidelityIndex objects of the gate set, excluding the trivial identity fidelity of each gate. See FidelityIndex for more information.

Parameters

gate_set – The gate set whose fidelities the space describes. Converted to a ModelGateSet.

__init__

__init__(gate_set: GateSet)


Methods

Column 1
Column 2
__init__(gate_set)

Attributes

Column 1
Column 2
dimThe total number of fidelities of the gate set, excluding the trivial identity ones.
gate_setThe gate set whose fidelities this space describes.

gate_set

Type: ModelGateSet

The gate set whose fidelities this space describes.

dim

Type: int

The total number of fidelities of the gate set, excluding the trivial identity ones.

Each gate contributes the count given by Equation (4) of the mathematical formalism, less one.

Was this page helpful?
Report a bug, typo, or request content on GitHub.