Describe the bug
transpiler.py currently supports the common gate operations in Graphix, including the $\text{RZZ}$ gate. However, the method Circuit.transpile does not and raises an error.
To Reproduce
Steps to reproduce the behavior:
import numpy as np
from graphix import Circuit
circuit = Circuit(2, instr=[instruction.RZZ(0, 1, np.pi / 4)])
pattern = circuit.transpile().pattern
Expected behavior
The gate should be managed in the transpiler in an equivalent way to other gates.
Environment (please complete the following information):
- OS: Ubuntu
- Python version: 3.13.7
Additional context
Problem to be avoided completely by upcoming transpiler reworking.