zxcalc/pyzx

qasmparser fails silently when certain invalid/unimplemented gates are encountered

Closed this issue · 1 comments

In particular, qiskit outputs qasm code with rzz and rxx gates. These are treated as rz and rx gates instead.

Fixed by this commit which extracts the name of the command correctly (instead of doing prefix matching).

This can be closed.