SinglePhysicalPredicate
- class SinglePhysicalPredicate[source]
Bases:
PassPredicateThe 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
PassPredicatefor more info.