supergrad.utils.operators.commutator

Contents

supergrad.utils.operators.commutator#

supergrad.utils.operators.commutator(A, B, kind='normal')[source]#

Return the commutator of kind kind (normal, anti) of the

SuperGrad-supported implementation of qutip.core.operators.commutator().

Original docstring below.

two operators A and B.

Parameters:
  • A (Qobj, QobjEvo) – The operators to compute the commutator of.

  • B (Qobj, QobjEvo) – The operators to compute the commutator of.