Skip to content

GateError: unknown gate XY to turn into parameterized matrix #465

@bramathon

Description

@bramathon

Quil 0.16.0

Reproduce

import numpy as np
from quil.instructions import Gate, Qubit
from quil.expression import Expression

gate = Gate(name="XY", parameters=[Expression.from_number(complex(np.pi/3))], qubits=[Qubit.from_fixed(0), Qubit.from_fixed(1)], modifiers=[])
gate.to_unitary_mut(2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions