mqt.qmap.pyqmap

Python bindings module for MQT QMAP.

Classes

Architecture

Class representing device/backend information.

CircuitInfo

Circuit information.

Configuration

Class representing the configuration for the mapping.

MappingResults

Class representing the results of a mapping.

SynthesisConfiguration

Class representing the configuration for the Clifford synthesis tehcniques.

SynthesisResults

Class representing the results of the Clifford synthesis techniques.

Tableau

Class representing a Clifford tableau.

CliffordSynthesizer

The main class for the Clifford synthesis techniques.

HybridNAMapper

The hybrid mapper for Neutral Atom Quantum Computers.

NeutralAtomHybridArchitecture

Class representing the architecture of a Neutral Atom Quantum Computer.

NAStatePreparationSolver

The main class for the Neutral Atom State Preparation.

Functions

map(→ tuple[mqt.core.ir.QuantumComputation, ...)

Map a quantum circuit to an architecture.

Module Contents

class Architecture
class Architecture(num_qubits: int, coupling_map: set[tuple[int, int]])
class Architecture(num_qubits: int, coupling_map: set[tuple[int, int]], properties: Properties)

Class representing device/backend information.

class Properties

Class representing properties of an architecture.

class CircuitInfo

Circuit information.

class Configuration

Class representing the configuration for the mapping.

class MappingResults

Class representing the results of a mapping.

map(circ: QuantumComputation, arch: Architecture, config: Configuration) tuple[QuantumComputation, MappingResults]

Map a quantum circuit to an architecture.

Parameters:
  • circ – The quantum circuit to map.

  • arch – The architecture to map to.

  • config – The mapping configuration.

Returns:

A tuple containing the mapped circuit and the mapping results.

class SynthesisConfiguration

Class representing the configuration for the Clifford synthesis tehcniques.

class SynthesisResults

Class representing the results of the Clifford synthesis techniques.

class Tableau(n: int, include_stabilizers: bool = False)
class Tableau(description: str)
class Tableau(stabilizers: str, destabilizers: str)

Class representing a Clifford tableau.

class CliffordSynthesizer(initial_tableau: Tableau, target_tableau: Tableau)
class CliffordSynthesizer(target_tableau: Tableau)
class CliffordSynthesizer(qc: QuantumComputation, use_destabilizers: bool)
class CliffordSynthesizer(initial_tableau: Tableau, qc: QuantumComputation)

The main class for the Clifford synthesis techniques.

class HybridNAMapper(arch: NeutralAtomHybridArchitecture, params: HybridMapperParameters = ...)

The hybrid mapper for Neutral Atom Quantum Computers.

class NeutralAtomHybridArchitecture(filename: str)

Class representing the architecture of a Neutral Atom Quantum Computer.

class NAStatePreparationSolver(new_max_x: int, new_max_y: int, new_max_c: int, new_max_r: int, new_max_h_offset: int, new_max_v_offset: int, new_max_h_dist: int, new_max_vdist: int, new_min_entangling_y: int, new_max_entangling_y: int)

The main class for the Neutral Atom State Preparation.