Skip to main content

A library to add the Peres Gate (New Toffoli Gate) functionality to Qiskit

Project description

Qiskit Peres Gate Library

License: MIT Qiskit Version

A lightweight Python library to integrate the Peres Gate (also known as the New Toffoli Gate) into Qiskit circuits. This gate is a fundamental component in reversible logic synthesis and quantum arithmetic.

What is a Peres Gate?

The Peres Gate is a 3-qubit reversible gate. It is highly valued in quantum computing because it functions as an efficient Half-Adder with a lower Quantum Cost (QC=4) compared to the standard Toffoli-based implementation.

Logic Transformation:

  • $P = A$
  • $Q = A \oplus B$
  • $R = (A \cdot B) \oplus C$

Installation

You can install this library locally for development:

git clone [https://github.com/arnabdevv/peres_gate_project.git](https://github.com/arnabdevv/peres_gate_project.git)
cd qiskit-peres-gate
pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qiskit_peres_gate-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qiskit_peres_gate-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file qiskit_peres_gate-0.1.0.tar.gz.

File metadata

  • Download URL: qiskit_peres_gate-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for qiskit_peres_gate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 853650442a0c295eba91a1cbf2a3bee36ef1b9e62409945f75ca0952f00aa5de
MD5 bdbc5b1f4d4b81cc6535636e78dabe3c
BLAKE2b-256 2a9cd2c7d72506035f30b7ef8fe86f22e133de49159a38eac587ed6047d720d3

See more details on using hashes here.

File details

Details for the file qiskit_peres_gate-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qiskit_peres_gate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c11157cec26aa0f600d247f34f71f84bcb274b36e274fdae72448d4333f21e
MD5 9c3e592587ff80f411c0674b64a04b76
BLAKE2b-256 34125e603256b846cb471cef2d5e3501ff5855e8be9843f6b06d8f438f60dc4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page