DelayA operation
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.Canon
Package: Microsoft.Quantum.Standard
Applies a given operation with a delay.
operation DelayA<'T> (op : ('T => Unit is Adj), arg : 'T, aux : Unit) : Unit is Adj
Description
Given an operation and an input to that operation, applies
the operation once an additional input is provided.
In particular, the expression Delay(op, arg, _)
is an operation that
applies op
to arg
when called.
Expression Delay(op,arg,_)
allows to delay the application of op
.
Input
op : 'T => Unit is Adj
An operation to be applied.
arg : 'T
The input to which the operation is applied.
aux : Unit
Argument used to delay the application of operation by using partial application.
Output : Unit
Type Parameters
'T
The input type of the operation to be delayed.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for