Skip to content

TensorKit.artin_braid restricted to unique fusion sector types #524

Description

@nimaser

@assert FusionStyle(I) === UniqueFusion()

This might just be a misunderstanding on my part, but I was hoping to use TensorKit.artin_braid to do passive changes of basis via leaf swapping on a DFib fusion tree (sector labels are of type FibonacciAnyon ⊠ TimeReversed{FibonacciAnyon}, which has a SimpleFusion rule). The doccomment seems to imply an implementation that returns a dict with many keys, but the actual source restricts the input to fusion trees with UniqueFusion sector types, presumably so the output dictionary is guaranteed to be a singleton. Is this the intended final behavior or just a temporary partial implementation?

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