ModularAddProductLE 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

Warning

ModularAddProductLE has been deprecated. Please use MultiplyAndAddByModularInteger operation instead.

Please use MultiplyAndAddByModularInteger operation.

operation ModularAddProductLE (constMultiplier : Int, modulus : Int, multiplier : Microsoft.Quantum.Arithmetic.LittleEndian, summand : Microsoft.Quantum.Arithmetic.LittleEndian) : Unit is Adj + Ctl

Input

constMultiplier : Int

modulus : Int

multiplier : LittleEndian

summand : LittleEndian

Output : Unit