quantum_launcher.base

Contents

quantum_launcher.base#

Submodules:

Summary#

__all__ Classes:

Algorithm

Abstract class for Algorithms.

Backend

Abstract class representing a backend for quantum computing.

Problem

Abstract class for defining Problems.

Result

Result(best_bitstring: str, best_energy: float, most_common_bitstring: str, most_common_bitstring_energy: float, distribution: dict, energies: dict, num_of_samples: int, average_energy: float, energy_std: float, result: Any)

__all__ Functions:

adapter

Register a function as an adapter from one problem format to another.

formatter

Register a function as a formatter for a given problem type to a given format.