qat.core.gate_set.GateSet
- class qat.core.gate_set.GateSet(dictio=None)
Gate sets represent collections of
GateSignature.- Parameters:
dictio (dict) – a (str,
GateSignature) dictionary
- add_signature(signa)
Adds a new
GateSignaturein theGateSet. If the signature redefines a gate, aGateSyntaxRedefinitionis raised.- Parameters:
signa (
GateSignature) – a gate signature