DiscreteOracle user defined type

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.Oracles

Package: Microsoft.Quantum.Standard

Represents a discrete-time oracle.


newtype DiscreteOracle = (((Int, Qubit[]) => Unit is Adj + Ctl));

Description

This is an oracle that implements $U^m$ for a fixed operation $U$ and a non-negative integer $m$.