Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ancilla-Free Quantum Adder with Sublinear Depth #13975

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

patelvyom
Copy link

Summary

This PR introduces an implementation of Ancilla-Free Quantum Adder with Sublinear Depth. The implementation follows the paper’s methodology, leveraging optimized CNOT and Toffoli ladder constructions to achieve an efficient ripple-carry addition without ancillary qubits. It achieves an overall depth of O(log² n) and gate count of O(n log(n)) without using any ancillae.

Details and comments

The implementation relies on the Log-depth MCX using conditionally clean ancillae introduced in #13922. The current version is not functional because log-depth MCX is not yet merged into main. I welcome any suggestions in the meantime. Since #13922 is part of the Qiskit 2.0 feature, I thought this might make a good addition. Tagging @ShellyGarion as you are already familiar with some of the changes.

@qiskit-bot qiskit-bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PR PRs from contributors that are not 'members' of the Qiskit repo
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants