ChangePredicate
- class ChangePredicate[source]
Bases:
PassPredicate
The ChangePredicate class.
The ChangePredicate returns true if the circuit has changed since the last call. On the first call, the predicate returns true.
- __init__()
Attributes
Methods
get_hash
(circuit)Retreive hash associated with circuit.
get_truth_value
(circuit, data)Call this predicate, see
PassPredicate
for more info.