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

Implement 3-qubit decomposition #437

Open
1tnguyen opened this issue Apr 22, 2021 · 1 comment
Open

Implement 3-qubit decomposition #437

1tnguyen opened this issue Apr 22, 2021 · 1 comment
Labels
unitaryhack Issues for the unitaryHACK bounty program

Comments

@1tnguyen
Copy link
Member

Similar to our existing KAK decomposition for 2-q unitary matrices, we can also implement the deterministic 3-q decomposition as a XACC Circuit class.

Ref: https://github.com/quantumlib/Cirq/blob/master/cirq-core/cirq/optimizers/three_qubit_decomposition.py
It's simple enough to have a native implementation rather than requiring Cirq dependency.

This should also benefit other high-level decomposition by optimization since we can decompose to bigger blocks.

@amccaskey amccaskey added the unitaryhack Issues for the unitaryHACK bounty program label Apr 27, 2021
@1tnguyen
Copy link
Member Author

For reference, scipy.linalg.cossin is equivalent to this LAPACK subroutine (could be used with extern declaration, I think)
http://www.netlib.org/lapack/explore-html-3.3.0-2011-01-25/cuncsd_8f_source.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unitaryhack Issues for the unitaryHACK bounty program
Projects
None yet
Development

No branches or pull requests

2 participants