Skip to content

Reversible Multi-precision arithmetic for Quantum Circuits

License

Notifications You must be signed in to change notification settings

Alan-Robertson/qmpa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QMPA

A basic library for quantum multi-precision arithmetic circuits.

Provides gate counts and implementations for adders (Cuccero ripple carry adder), subtraction (inverse ripple carry), integer multiplication (shift and add on ripple carry) and integer division (trial subtraction long division).

Also provides output in the form of quantikz diagrams.

Installation

pip install -r requirements.txt
python setup.py install

Utility

See the examples notebook for examples

About

Reversible Multi-precision arithmetic for Quantum Circuits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published