Module quantum_info

Module quantum_info 

Source
Expand description

Quantum Information Tools

This module provides comprehensive quantum information measures, metrics, and tomography tools for analyzing and characterizing quantum states, processes, and gate sets.

§Features

§State Measures

  • State fidelity (pure-pure, pure-mixed, mixed-mixed)
  • Purity
  • von Neumann entropy
  • Mutual information
  • Concurrence (2-qubit entanglement)
  • Entanglement entropy
  • Negativity

§Process Measures

  • Process fidelity
  • Average gate fidelity
  • Gate error
  • Diamond norm distance
  • Unitarity

§Tomography

  • Quantum state tomography (MLE and linear inversion)
  • Process tomography (Choi matrix reconstruction)
  • Gate set tomography (GST)
  • Shadow tomography (classical shadows)

§Channel Representations

  • Choi matrix
  • Pauli transfer matrix (PTM)
  • Kraus operators
  • Superoperator

Structs§

ClassicalShadow
Classical shadow protocol for efficient property estimation
MeasurementData
Measurement data for tomography
ProcessTomography
Quantum process tomography engine
ProcessTomographyData
Data for process tomography
QuantumChannel
Quantum channel representation
StateTomography
Quantum state tomography engine
StateTomographyConfig
Configuration for quantum state tomography
TomographyResult
Result of quantum state tomography

Enums§

QuantumInfoError
Quantum information error types
QuantumState
Quantum state representation (pure or mixed)
TomographyMethod
Tomography reconstruction method

Functions§

average_gate_fidelity
Calculate the average gate fidelity of a noisy quantum channel.
concurrence
Calculate the concurrence of a two-qubit state.
diamond_norm_distance
Estimate the diamond norm distance between two channels.
entanglement_of_formation
Calculate the entanglement of formation for a two-qubit state.
gate_error
Calculate the gate error (infidelity) of a quantum channel.
logarithmic_negativity
Calculate the logarithmic negativity.
mutual_information
Calculate the quantum mutual information of a bipartite state.
negativity
Calculate the negativity of a bipartite state.
partial_trace
Compute the partial trace of a bipartite density matrix.
process_fidelity
Calculate the process fidelity between a quantum channel and a target.
purity
Calculate the purity of a quantum state.
state_fidelity
Compute the state fidelity between two quantum states.
unitarity
Calculate the unitarity of a quantum channel.
von_neumann_entropy
Calculate the von Neumann entropy of a quantum state.