Skip to content

Interface: Pack (bra, ket) into one tuple for expectation_value #414

Description

@Yue-Zhengyuan

Currently, in expectation_value and reduced_densitymatrix:

  • For iPEPS measurement, we can provide either a single ket::InfinitePEPS, or bra::InfinitePEPS and ket::InfinitePEPS as two separate arguments.
  • For purified iPEPO, we always provide bra::InfinitePEPO and ket::InfinitePEPO.
  • For one-layer iPEPO, we provide only one ρ::InfinitePEPO.

So we have either one or two arguments to specify the states. Do we want to unify the interface to one state argument by packing (bra, ket) into one tuple?

Activity

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