OperatorCondition

A serializable relation on the two occupations of an operator step.

symmetric: bool
diagonal: NoneType
equivalence: bool
requires_frequencies: bool

 

__setattr__(self, name, value): 

 

__hash__(self): 

 

__eq__(self, other): 

 

__and__(self, other): 

 

__or__(self, other): 

 

__invert__(self): 

 

symmetrized(self): 

 

evaluate_shifted(self, state, permutations, start, end, frequencies): 

 

matches(self, initial, final, frequencies=None): 

 

__call__(self, initial, final, frequencies=None): 

 

may_retain_change(self, change): 

False proves a change impossible; None leaves it unresolved.


Feedback

Examples

Templates

Documentation