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

Feature/isometries #314

Open
wants to merge 34 commits into
base: develop
Choose a base branch
from

Conversation

emanuel-malvetti
Copy link

This branch implements decompositions for arbitrary isometries, diagonal gates and uniformly controlled single-qubit gates. (There is also code for uniformly controlled Rz rotations but it is not exposed in the interface.) Everything works well with controls, dagger and simulations except that isometries cannot be simulated. Everything is implemented both in C++ and Python.

A "master test" can be found in projectq/ops/_isometry_test.py

Relevant Papers:

Raban Iten, Roger Colbeck, Ivan Kukuljan, Jonathan Home, and Matthias Christandl. Quantum circuits for isometries. Phys. Rev. A, 93:032318, Mar 2016.

V. Bergholm M. Möttönen, J. J. Vartiainen and M. M. Salomaa. Quantum circuits with uniformly controlled one-qubit gates. Phys. Rev. A, 71:052330, 2005.

V. V. Shende, S. S. Bullock, and I. L. Markov. Synthesis of quantum-logic circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 25(6):1000–1010, 2006.

Copy link
Collaborator

@Takishima Takishima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the few issues I marked. Once that's done, I will go over this PR once again.

projectq/backends/_sim/_cppkernels/simulator.hpp Outdated Show resolved Hide resolved
projectq/libs/isometries/cppdec.cpp Outdated Show resolved Hide resolved
projectq/libs/isometries/decompositions.py Outdated Show resolved Hide resolved
projectq/libs/isometries/decomposition.hpp Show resolved Hide resolved
projectq/libs/isometries/single_qubit_gate.py Outdated Show resolved Hide resolved
projectq/libs/isometries/decomposition.hpp Outdated Show resolved Hide resolved
projectq/libs/isometries/decomposition.hpp Outdated Show resolved Hide resolved
projectq/libs/isometries/decompose_isometry.py Outdated Show resolved Hide resolved
projectq/libs/isometries/decompose_isometry.py Outdated Show resolved Hide resolved
@CLAassistant
Copy link

CLAassistant commented Feb 13, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 3 committers have signed the CLA.

✅ Takishima
❌ Emanuel Malvetti
❌ emanuel-malvetti


Emanuel Malvetti seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants