quspin.operators.isquantum_operator

quspin.operators.isquantum_operator(obj)[source]

Checks if instance is object of quantum_operator class.

Parameters:
obj

Arbitraty python object.

Returns:
bool

Can be either of the following:

  • True: obj is an instance of quantum_operator class.

  • False: obj is NOT an instance of quantum_operator class.