OrthogonalNpcLinearOperator¶
full name: tenpy.linalg.sparse.OrthogonalNpcLinearOperator
parent module:
tenpy.linalg.sparse
type: class
Inheritance Diagram
Methods
|
Initialize self. |
Return the hermitian conjugate of self. |
|
|
|
Contract self to a matrix. |
|
Return to the original NpcLinearOperator. |
-
class
tenpy.linalg.sparse.
OrthogonalNpcLinearOperator
(orig_operator, ortho_vecs)[source]¶ Bases:
tenpy.linalg.sparse.NpcLinearOperatorWrapper
Replace
H -> P H P
with the projectorP = 1 - sum_o |o> <o|
.Here,
|o>
are the vectors fromortho_vecs
.- Parameters
orig_operator (
EffectiveH
) – The original EffectiveH instance to wrap around.ortho_vecs (list of
Array
) – The vectors to orthogonalize against.