ZXGatePredicate

class ZXGatePredicate[source]

Bases: PassPredicate

A predicate that checks if the model has a RZ or U1 and SX or RX gate.

__init__()

Methods

get_truth_value(circuit, data)

Call this predicate, see PassPredicate for more info.