Gate-Description: Phase-Oracle

Function:

Defines the Phaseoracle. It turns the phase of the values x where the specified function f(x) = 1 by 180°.

Parameters:

fromFirst qubit of the range.
toLast qubit of the range. Has to be larger or equal to from. Otherwise, no operation is executed.
function Specifies the values for which the oracle returns 1. Entering -1 indicates, that this value-field is not used. Only six values can be specified in the window. However, the implementation handles every possible oracle and can be used as suboperation of other gates.

Remarks:

The Operation is executed by clicking the Execute-button.



Copyright 2002 Marc Rochel