Fork me on GitHub


RevKit is an open source C++ logic synthesis framework for reversibe logic. It is based on the reversible and quantum library tweedledum, and the logic network library mockturtle. It uses alice to create commands for the command line interface and to expose a Python interface.

Download CirKit

Previous versions of RevKit can be downloaded from the develop branch in the Github repository. Older versions are no longer maintained.

Install RevKit

git clone --recursive
cd cirkit
mkdir build
cd build
cmake ..
make revkit
cd ..

Run RevKit

After a successful compilation, run
from the main directory.


  • Linux, Mac, or Windows
  • git
  • cmake (at least version 3.8.0)
  • g++ (at least version 7.3.0) or clang++ (at least version 6.0.0)
  • GNU readline (optional)