Skip to content

Introduce apply and contract MPS/MPO functions #366

Description

@mtfishman

Introduce the following functions:

  • apply(MPO, MPS) which returns an unprimed MPS.
  • contract(MPO, MPS) which returns a primed MPS (the same as the current applyMPO(MPO, MPS) function).
  • apply(MPO, MPO) which returns an MPO with pairs of primed and unprimed indices.
  • contract(MPO, MPO) which returns an MPO with pairs of doubly primed and unprimed indices (the same as the current nmultMPO(MPO, MPO) function).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions