class mentpy.MentOutcome

Measurement outcome class.

Constructors

MentOutcome(outcome: Callable[[...], bool], node_id=None, ...)

Initialize self. See help(type(self)) for accurate signature.

String representation

__repr__() str

Return repr(self).

Special methods

__call__(*args, **kwargs)

Call self as a function.

__eq__(other)

Return self==value.

__ge__(other)

Return self>=value.

__gt__(other)

Return self>value.

__le__(other)

Return self<=value.

__lt__(other)

Return self<value.

__ne__(other)

Return self!=value.

__or__(other)

Return self|value.

Properties

property cond_nodes
property node_id