HasGeneralSingleQuditGate

class HasGeneralSingleQuditGate[source]

Bases: PassPredicate

A predicate that checks if the model has a general single qudit gate.

__init__()

Methods

get_truth_value(circuit, data)

Call this predicate, see PassPredicate for more info.