-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Quil 0.16.0
This error occurs when trying to get the unitary of an FSIM gate. I suspect that FSIM may not be know to quil, but it seems here that two-parameter gates may generally be unsupported.
import numpy as np
from quil.instructions import Gate, Qubit
from quil.expression import Expression
gate = Gate(name="FSIM", parameters=[Expression.from_number(complex(np.pi/3)), Expression.from_number(complex(np.pi/12))], qubits=[Qubit.from_fixed(0), Qubit.from_fixed(1)], modifiers=[])
gate.to_unitary_mut(2)Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request