UncurriedOp 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.Canon

Package: Microsoft.Quantum.Standard

Given a function which returns operations, returns a new operation which takes both inputs as a tuple.

function UncurriedOp<'T, 'U> (curriedOp : ('T -> ('U => Unit))) : (('T, 'U) => Unit)

Input

curriedOp : 'T -> 'U => Unit

A function which returns operations.

Output : ('T,'U) => Unit

A new operation op such that op(t, u) is equivalent to (curriedOp(t))(u).

Type Parameters

'T

The type of the first input to a curried operation.

'U

The type of the second input to a curried operation.

See Also