PassPredicate

class PassPredicate[source]

Bases: ABC

The PassPredicate abstract base class.

A PassPredicate implements the get_truth_value() method, which is called from control passes to determine the flow of execution.

__init__()

Methods

get_truth_value(circuit, data)

Call this predicate and retrieve the truth value result.