Skip to content

Latest commit

 

History

History
71 lines (42 loc) · 1.75 KB

microsoft.quantum.canon.delayca.md

File metadata and controls

71 lines (42 loc) · 1.75 KB
uid title ms.date ms.topic qsharp.kind qsharp.namespace qsharp.name qsharp.summary
Microsoft.Quantum.Canon.DelayCA
DelayCA operation
7/28/2023 12:00:00 AM
managed-reference
operation
Microsoft.Quantum.Canon
DelayCA
Applies a given operation with a delay.

DelayCA 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 DelayCA<'T> (op : ('T => Unit is Ctl + Adj), arg : 'T, aux : Unit) : Unit is Adj + Ctl

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 + Ctl

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

  • Microsoft.Quantum.Canon.Delay
  • Microsoft.Quantum.Canon.Delayed