ApplyPhaseLEOperationOnLEC 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 LittleEndian user defined type register as input on a target register of type PhaseLittleEndian user defined type.

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

Input

op : PhaseLittleEndian => Unit is Ctl

The operation to be applied.

target : LittleEndian

The register to which the operation is applied.

Output : Unit

Remarks

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

See Also