Skip to content

Rotation Gates #94

@sagnikpal2004

Description

@sagnikpal2004

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions