qiskit_to_tk
: KeyError for certain gates
#138
Labels
circuit_conversion
Issues and pull requests related to coverting qiskit circuits to pytket and vice versa
The
qiskit_to_tk
transformation fails when certain gates are present in the originalQiskit.QuantumCircuit
and throws a respectiveKeyError
.One example can be seen here:
Resulting in:
KeyError: <class 'qiskit.circuit.library.standard_gates.xx_plus_yy.XXPlusYYGate'>
I could imagine that the problem occurs for gates which are not part of the openQASM2.0 gates. But there are even gates from that gateset which lead to the same error, for example here:
Resulting in:
KeyError: <class 'qiskit.circuit.library.standard_gates.x.RCCXGate'>
(based on pytket v1.16.0 and qiskit v0.43.1)
The text was updated successfully, but these errors were encountered: