The parser no longer is expected to parse bogus gate definitions
from stdgates.inc. Rather, symbols are entered as if it had been
parsed. This requires modifying how the Qiskit importer works.
The main change here is implementing SymbolTable::gates. This
returns some information on all gates found in the symbol table.
Included is the minimal information required for the Qiskit importer
to map SymbolIds to Qiskit gates.
A smaller convenience:
Add GateDeclaration::num_params() for convenience
Several other changes are noted in the git commit messages
The parser no longer is expected to parse bogus gate definitions from stdgates.inc. Rather, symbols are entered as if it had been parsed. This requires modifying how the Qiskit importer works.
The main change here is implementing
SymbolTable::gates
. This returns some information on all gates found in the symbol table. Included is the minimal information required for the Qiskit importer to mapSymbolId
s to Qiskit gates.Several other changes are noted in the git commit messages
Expr::Identifier