AmplitudeAmplifier#

class AmplitudeAmplifier[source]#

Bases: ABC

The interface for amplification algorithms.

Methods

abstract amplify(amplification_problem)[source]#

Run the amplification algorithm.

Parameters:

amplification_problem (AmplificationProblem) – The amplification problem.

Returns:

The result as a AmplificationResult, where e.g. the most likely state can be queried as result.top_measurement.

Return type:

AmplitudeAmplifierResult