Пример #1
0
 def operators(self):
     """Return the operator(s) that this state is an eigenstate of"""
     from operatorset import state_to_operators  # import internally to avoid circular import errors
     return state_to_operators(self)
Пример #2
0
 def operators(self):
     """Return the operator(s) that this state is an eigenstate of"""
     from operatorset import state_to_operators #import internally to avoid circular import errors
     return state_to_operators(self)