Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

matrix product operators #390

Closed
Closed

Description

@mganahl

We definitely need an MPO class for MPS simulations like DMRG, ...
I would suggest a structure similar to the MPS case, i.e.

  • BaseMPO
  • FiniteMPO(BaseMPO)
  • InfiniteMPO(BaseMPO)

We also need convenience functions to build e.g. MPOs for
local Hamiltonians. I would suggest something along the line

mpo = tn.FiniteMPO(backend='numpy')

Sz = mpo.backend.Sz(dimension=2) #other operators need to be supported as well
site1, site2 = 2, 3
coupling=1.0
mpo.add_two_body(Sz,Sz, site1, site2, coupling)

any input welcome!

Activity

  1. amilsted commented on Nov 20, 2019

    @amilsted
    Contributor

    Yes, this would be great! Do you already have external code to build MPOs like this?

    Also desirable: Automatic decomposition of multi-site operators into MPO components (via SVD).

  2. mganahl commented on Nov 20, 2019

    @mganahl
    ContributorAuthor

    I don't, but I'm thinking about how to build this. It's pretty straightforward if you just do it numerically, i.e. sum up individual MPOs and then run a compression algorithm on it (see https://arxiv.org/abs/1611.02498 for a recent review). Since they are simply finite state automata I think some results from computer science could be used to build the MPO algebraically, which could have certain advantages.

  3. chaserileyroberts commented on Feb 5, 2020

    @chaserileyroberts
    Contributor

    Closing as these exist now.

  4. amilsted commented on Feb 13, 2020

    @amilsted
    Contributor

    They do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions