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

Rotation Gates #94

Open
sagnikpal2004 opened this issue Dec 24, 2024 · 0 comments
Open

Rotation Gates #94

sagnikpal2004 opened this issue Dec 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sagnikpal2004
Copy link

Rotation Gates are not available in QuantumSymbolics.

I have implemented Rotation Gates in a fork: https://github.com/sagnikpal2004/QuantumSymbolics.jl/tree/rgate
I have tested the feature, and it works well. The unit tests also pass.

Here is its usage:

using QuantumSymbolics

express(Rx(1.0*pi))
express(Ry(1.0*pi))
express(Rz(1.0*pi))

express(RGate(:x, 0.5*pi))
QuantumSavory.apply!(reg[1], Ry(0.25*pi))

Let me know if this is something that can be merged into QuantumSymbolics

@sagnikpal2004 sagnikpal2004 added the enhancement New feature or request label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant