iqm.pulla.utils.get_hash_for#
- iqm.pulla.utils.get_hash_for(circuit)#
Get a unique id hash for a given circuit.
In the context of this function, two CPC circuits are considered equal if they have: 1. The same CircuitOperations in the same order. 2. The loci of those circuit operations are the same in all operation.