A tiny math library which will be extended thoughout the next weeks. Right now, it only contains the math functions necessary to run Beauregard's implementation of Shor's algorithm.
.. autosummary::
projectq.libs.math.all_defined_decomposition_rules
projectq.libs.math.AddConstant
projectq.libs.math.SubConstant
projectq.libs.math.AddConstantModN
projectq.libs.math.SubConstantModN
projectq.libs.math.MultiplyByConstantModN
.. automodule:: projectq.libs.math
:members:
:special-members: __init__
:imported-members: