UncurriedOpCA 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.
The modifier CA
indicates that the operations are controllable and adjointable.
function UncurriedOpCA<'T, 'U> (curriedOp : ('T -> ('U => Unit is Ctl + Adj))) : (('T, 'U) => Unit is Ctl + Adj)
Input
curriedOp : 'T -> 'U => Unit is Adj + Ctl
A function which returns operations.
Output : ('T,'U) => Unit is Adj + Ctl
A new operation op
such that op(t, u)
is equivalent
to (curriedOp(t))(u)
.
Type Parameters
'T
The type of the first argument of a curried function.
'U
The type of the second argument of a curried function.
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