StandardReflectionPhases function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.AmplitudeAmplification

Package: Microsoft.Quantum.Standard

Computes partial reflection phases for standard amplitude amplification.

function StandardReflectionPhases (nIterations : Int) : Microsoft.Quantum.AmplitudeAmplification.ReflectionPhases

Input

nIterations : Int

Number of amplitude amplification iterations to generate partial reflection phases for.

Output : ReflectionPhases

An operation that implements phases specified as partial reflections

Remarks

All phases are $\pi$, except for the first reflection about the start state and the last reflection about the target state, which are $0$.