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
GateSignature
in theGateSet
. If the signature redefines a gate, aGateSyntaxRedefinition
is raised.- Parameters
signa (
GateSignature
) – a gate signature