SumNpcLinearOperator

  • full name: tenpy.linalg.sparse.SumNpcLinearOperator

  • parent module: tenpy.linalg.sparse

  • type: class

Inheritance Diagram

Inheritance diagram of tenpy.linalg.sparse.SumNpcLinearOperator

Methods

SumNpcLinearOperator.__init__(orig_operator, ...)

SumNpcLinearOperator.adjoint()

Return the hermitian conjugate of self.

SumNpcLinearOperator.matvec(vec)

SumNpcLinearOperator.to_matrix()

Contract self to a matrix.

SumNpcLinearOperator.unwrapped()

Return to the original NpcLinearOperator.

class tenpy.linalg.sparse.SumNpcLinearOperator(orig_operator, other_operator)[source]

Bases: NpcLinearOperatorWrapper

Sum of two linear operators.

to_matrix()[source]

Contract self to a matrix.

adjoint()[source]

Return the hermitian conjugate of self.

If self is hermitian, subclasses can choose to implement this to define the adjoint operator of self.

unwrapped()[source]

Return to the original NpcLinearOperator.

If multiple levels of wrapping were used, this returns the most unwrapped one.