quspin.operators.isquantum_LinearOperator

quspin.operators.isquantum_LinearOperator(obj)[source]

Checks if instance is object of quantum_LinearOperator class.

Parameters:
obj

Arbitraty python object.

Returns:
bool

Can be either of the following:

  • True: obj is an instance of quantum_LinearOperator class.

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