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

Adding Block ZXZ Decomposition to BQSKit #285

Merged
merged 19 commits into from
Oct 23, 2024

Conversation

jkalloor3
Copy link
Contributor

Implementation of the synthesis algorithm described here: https://arxiv.org/pdf/2403.13692v1

The Block ZXZ Decomposition is able to produce much more efficient circuits than the Quantum Shannon Decomposition.
Furthermore, I have implemented an ExtractDiagonalPass.

As shown in Appendix A.2 of https://arxiv.org/pdf/quant-ph/0406176, you can extract a diagonal operator from a 2-qubit unitary in order to save 1 CNOT per 2-qubit unitary. The actual construction is not fully shown, but we can reproduce the results with instantiation. I have scaled up this instantiation to work with up to 5-qubits, just by assuming a ladder CNOT ansatz. The savings from this pass are substantial, and I expect this to lead to big results in terms of CNOT count for large unitaries.

@jkalloor3 jkalloor3 merged commit b7917dc into BQSKit:main Oct 23, 2024
17 checks passed
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.

2 participants