Tomography Experiments (qiskit_experiments.library.tomography)#

Experiments#

TomographyExperiment(circuit[, backend, ...])

Base experiment for quantum state and process tomography.

StateTomography(circuit[, backend, ...])

An experiment to reconstruct the quantum state from measurement data.

ProcessTomography(circuit[, backend, ...])

An experiment to reconstruct the quantum channel from measurement data.

MitigatedStateTomography(circuit[, backend, ...])

A batched experiment to characterize readout error then perform state tomography for doing readout error mitigated state tomography.

MitigatedProcessTomography(circuit[, ...])

A batched experiment to characterize readout error then perform process tomography for doing readout error mitigated process tomography.

Analysis#

TomographyAnalysis()

Base analysis for state and process tomography experiments.

StateTomographyAnalysis()

State tomography experiment analysis.

ProcessTomographyAnalysis()

Quantum state and process tomography experiment analysis.

MitigatedTomographyAnalysis([...])

Analysis for readout error mitigated tomography experiments.

Tomography Fitters#

Fitter functions for state reconstruction in tomography analysis

fitters.linear_inversion(outcome_data, ...)

Linear inversion tomography fitter.

fitters.cvxpy_gaussian_lstsq(outcome_data, ...)

Constrained Gaussian linear least-squares tomography fitter.

fitters.cvxpy_linear_lstsq(outcome_data, ...)

Constrained weighted linear least-squares tomography fitter.

Basis Classes#

Built in tomography basis classes

basis.PauliMeasurementBasis([mitigator])

Standard Pauli measurement basis.

basis.PauliPreparationBasis()

Minimal 4-element Pauli measurement basis.

basis.Pauli6PreparationBasis()

Over-complete 6-element Pauli preparation basis.

Custom local tensor product basis classes

basis.LocalMeasurementBasis(name[, ...])

Local tensor-product measurement basis.

basis.LocalPreparationBasis(name[, ...])

Local tensor-product preparation basis.

Abstract base classes

basis.MeasurementBasis(name)

Abstract base class for a tomography measurement basis.

basis.PreparationBasis(name)

Abstract base class for a tomography preparation basis.

Warning

The API for tomography fitters and bases is still under development so may change in a future release.