{"id":15425097,"url":"https://github.com/msoeken/revkit","last_synced_at":"2025-10-06T00:04:44.647Z","repository":{"id":41503596,"uuid":"169622318","full_name":"msoeken/revkit","owner":"msoeken","description":"RevKit: Python quantum compilation library and framework","archived":false,"fork":false,"pushed_at":"2019-04-29T13:29:05.000Z","size":968,"stargazers_count":30,"open_issues_count":4,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-06T00:04:01.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msoeken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-07T18:39:36.000Z","updated_at":"2025-09-24T08:23:03.000Z","dependencies_parsed_at":"2022-07-08T02:16:31.878Z","dependency_job_id":null,"html_url":"https://github.com/msoeken/revkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msoeken/revkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoeken%2Frevkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoeken%2Frevkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoeken%2Frevkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoeken%2Frevkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msoeken","download_url":"https://codeload.github.com/msoeken/revkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msoeken%2Frevkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278537774,"owners_count":26003250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T17:49:52.366Z","updated_at":"2025-10-06T00:04:44.632Z","avatar_url":"https://github.com/msoeken.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/msoeken/revkit.svg?branch=master)](https://travis-ci.org/msoeken/revkit)\n\n# RevKit 3.1\n\nRevKit 3.1 is a Python quantum compilation library.  RevKit is based on the C++\nlibraries [tweedledum](https://github.com/boschmitt/tweedledum) and\n[caterpillar](https://github.com/gmeuli/caterpillar) (as well as other C++\nlibraries from the\n[EPFL logic synthesis libraries](https://github.com/lsils/lstools-showcase)),\nand exposes their functionality by means of simple Python APIs.  It also\ncontains the module `revkit.export` with several functions for interoperability\nwith other quantum programming languages and frameworks.\n\n## Example\n\nThe following example creates a quantum circuit that computes the oracle\nfunction `(a ∧ b) ⊕ (c ∧ d)` onto an ancilla qubit.\n\n```python\nfrom revkit import netlist, oracle_synth, truth_table\nimport revkit.export.qiskit\n\nfunction = truth_table.from_expression(\"[(ab)(cd)]\") # (a ∧ b) ⊕ (c ∧ d)\ncircuit = oracle_synth(function)\n\nqcircuit = circuit.to_qiskit()\n```\n\n## Installation\n\nFrom PyPi *(not yet available)*\n\n```\npip install revkit\n```\n\nFrom Github with `setuptools`\n\n```\npip install git+https://github.com/msoeken/revkit@develop\n```\n\nFrom Github with `make`\n\n```\ngit clone -b develop https://github.com/msoeken/revkit\ncd revkit\nmake devbuild\n```\n\nA very recent C++ compiler with support for C++ 17 is required to build RevKit.\nIf compilation with the default compiler on your system does not work, try to\nsetting the `CC` environment variable to a more recent compiler.\n\n## Previous versions\n\nRevKit has a 10-year long history. The rapidly changing requirements for\nquantum computing also influenced RevKit, such that it was redesigned several\ntimes. Previous versions of RevKit can be found online, but are no longer\nmaintained. Since version 3.1, RevKit does no longer exist as a standalone\ncommand line application, but solely as a Python library, with the focus of an\neasy integration with other Python-based quantum programming frameworks. In\norder to access the various functionality in other applications, the libraries\n[tweedledum](https://github.com/boschmitt/tweedledum) and\n[caterpillar](https://github.com/gmeuli/caterpillar) can be used directly\ninstead.\n\n## EPFL logic sythesis libraries\n\nRevKit is based on the [EPFL logic synthesis](https://lsi.epfl.ch/page-138455-en.html) libraries.  The other libraries and several examples on how to use and integrate the libraries can be found in the [logic synthesis tool showcase](https://github.com/lsils/lstools-showcase).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsoeken%2Frevkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsoeken%2Frevkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsoeken%2Frevkit/lists"}