SinglePhysicalPredicate
- class SinglePhysicalPredicate[source]
Bases:
PassPredicate
The SinglePhysicalPredicate class.
The SinglePhysicalPredicate returns true if circuit’s single-qudit gates are in the native gate set.
- __init__()
Methods
get_truth_value
(circuit, data)Call this predicate, see
PassPredicate
for more info.