qat.lang.AQASM.misc.generate_gate_set
- qat.lang.AQASM.misc.generate_gate_set(*args, safe=False)
Generates a gate set from a list of various arguments. Arguments can be:
GateSignature/AbstractGates
build_gates wrappers
python modules
In this case it iterates through its scope and gathers all the build_gate objects (i.e all the decorated functions).