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 Multiplexed Rotation Gates #282

Merged
merged 16 commits into from
Oct 9, 2024
Merged

Conversation

jkalloor3
Copy link
Contributor

@jkalloor3 jkalloor3 commented Sep 23, 2024

Pull request creates 2 new multiplexed rotation gates.

These gates have n -1 select qubits and a single target qubit. It has 2^(n-1) parameters corresponding to all of the possible configurations of the n - 1 select qubit. Each configuration of the n - 1 select qubits applies to a rotation gate (parameterized by the respective parameter) to the target qubit. The select qubits are unchanged.

These gates are used extensively in QSD and Block ZXZ Unitary Decomposition.

@jkalloor3 jkalloor3 requested a review from edyounis September 24, 2024 18:52
Copy link
Member

@edyounis edyounis left a comment

Choose a reason for hiding this comment

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

Can you add the gates the documentation docstring in bqskit.ir.gates.__init__? Other than that, lgtm

@edyounis edyounis merged commit 28204df into BQSKit:main Oct 9, 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