A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://qrisp.eu/reference/Algorithms/qaoa/QAOABenchmark.html below:

QAOABenchmark — documentation

QAOABenchmark#
class QAOABenchmark(benchmark_data, optimal_solution, cost_function)[source]#

This class is a wrapper for representing and evaluating the data collected in the .benchmark method.

Attributes:
layer_depthlist[int]

The amount of QAOA layers for each run.

circuit_depthlist[int]

The depth of the compiled circuit of each run.

qubit_amountlist[int]

The amount of qubits of the compiled circuit of each run.

shotslist[int]

The amount of shots per backend call of each run.

iterationslist[int]

The amount of backend calls of each run.

countslist[dict]

The measurement results of the optimized circuit of each run.

runtimelist[float]

The amount of time passed (in seconds) of each run.

optimal_solution-

The optimal solution of the problem.

cost_functioncallable

The classical cost function of the benchmarked problem.

Methods#

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4