ITensor / ITensor/ITensorNetworks.jl

General interface for gauge constraints of tensor networks

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
128
Forks
23
Avg merge
4d 7h
Merged PRs (30d)
7

Description

A design could be:

abstract type AbstractGaugeConstraint end

struct ITensorNetwork{V,C<:AbstractGaugeConstraint} <: AbstractITensorNetwork{V}
  data_graph::DataGraph{V,ITensor,ITensor,NamedGraph{V},NamedEdge{V}}
  gauge_constraint::C
end

# No gauge constraint, this could be the default
# fallback.
struct NoGaugeConstraint <: AbstractGaugeConstraint
end

# Symmetric gauge, stores the message tensors
# Λₑ which are the same as the Vidal gauge bond
# matrices
struct SymmetricGauge{V} <: AbstractGaugeConstraint
  message_tensors::DataGraph{V,ITensor,ITensor,NamedGraph{V},NamedEdge{V}}
end

# Vidal gauge, stores the edges where the bond matrices
# Λₑ are present. The bond matrices themselves are
# stored in the `data_graph` of the ITensorNetwork.
struct VidalGauge{E} <: AbstractGaugeConstraint
  edges::Vector{E}
end

# isoTNS gauge, stores the vertices that
# defines the gauge center region.
struct IsometricGauge{v} <: AbstractGaugeConstraint
  center::Vector{V}
end

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue contains a Julia design sketch but names no files, tests, or entry points. Start by examining the proposed ITensorNetwork and AbstractGaugeConstraint types, then determine how the listed gauge variants should fit the project. Completion criteria and required tests are not specified, so the interface needs agreement before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.