ApplyLEOperationOnPhaseLECA 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.Arithmetic

Package: Microsoft.Quantum.Standard

Applies an operation that takes a PhaseLittleEndian user defined type register as input on a target register of type LittleEndian user defined type.

operation ApplyLEOperationOnPhaseLECA (op : (Microsoft.Quantum.Arithmetic.LittleEndian => Unit is Adj + Ctl), target : Microsoft.Quantum.Arithmetic.PhaseLittleEndian) : Unit is Adj + Ctl

Input

op : LittleEndian => Unit is Adj + Ctl

The operation to be applied.

target : PhaseLittleEndian

The register to which the operation is applied.

Output : Unit

Remarks

The register is transformed to LittleEndian by the use of QFTLE operation and is then returned to its original representation after application of op.

See Also