quantum_launcher.launcher.profiling_launcher

quantum_launcher.launcher.profiling_launcher#

Summary#

Classes:

ProfilingLauncher

Launcher made for debugging purposes of algorithms and other launchers focusing on performance issues

Reference#

class quantum_launcher.launcher.profiling_launcher.ProfilingLauncher(problem: Problem, algorithm: Algorithm, backend: Backend, profiler_path: str = 'profiling-results.prof')[source]#

Bases: QuantumLauncher

Launcher made for debugging purposes of algorithms and other launchers focusing on performance issues

run() Tuple[Result, Stats][source]#

Finds proper formatter, and runs the algorithm on the problem with given backends.

Returns:

The results of the algorithm execution.

Return type:

dict