uid | title | ms.date | ms.topic | qsharp.kind | qsharp.namespace | qsharp.name | qsharp.summary |
---|---|---|---|---|---|---|---|
Microsoft.Quantum.Canon.MultiplexOperationsFromGenerator |
MultiplexOperationsFromGenerator operation |
7/28/2023 12:00:00 AM |
managed-reference |
operation |
Microsoft.Quantum.Canon |
MultiplexOperationsFromGenerator |
Applies a multiply-controlled unitary 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 multiply-controlled unitary operation
operation MultiplexOperationsFromGenerator<'T> (unitaryGenerator : (Int, (Int -> ('T => Unit is Adj + Ctl))), index : Microsoft.Quantum.Arithmetic.LittleEndian, target : 'T) : Unit is Adj + Ctl
A tuple where the first element Int
is the number of unitaries (Int -> ('T => () is Adj + Ctl))
is a function that takes an integer
Generic qubit register that
coefficients
will be padded with identity elements if
fewer than