sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.33k stars 453 forks source link

F-Matrix Factory #30423

Closed 6bbcde06-8197-41f1-b9a3-c998bb839000 closed 1 year ago

6bbcde06-8197-41f1-b9a3-c998bb839000 commented 4 years ago

The FusionRing and its methods contain nearly complete information about the underlying modular tensor category. However information is lost about the associator, and this is captured by the F-matrix or 6j symbols. This ticket adds a method to compute the F-matrices.

This may be tested on the rank <=4 examples in the paper of Rowell, Stong and Wang (arXiv:0712.1377). It is able to compute F-matrices for these examples except the last one, G2 at level 2.

CC: @tscrim @sagetrac-sage-combinat @dwbump @willieab @physicstravels

Component: combinatorics

Keywords: Fusion Ring, F-matrix

Author: Daniel Bump, Guillermo Aboumrad, Galit Anikeeva

Branch: 57825e9

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/30423

6bbcde06-8197-41f1-b9a3-c998bb839000 commented 4 years ago

New commits:

1b99dccadded FMatrix code
2de3efbwork on doctest
559a4c8doc revision
6bbcde06-8197-41f1-b9a3-c998bb839000 commented 4 years ago

Commit: 559a4c8

6bbcde06-8197-41f1-b9a3-c998bb839000 commented 4 years ago

Branch: public/fusion_fmatrix-30423

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

062b694bugfix in sreduce
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 559a4c8 to 062b694

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 062b694 to 6093b1e

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

6093b1emissing import
tscrim commented 4 years ago
comment:4

Just a quick comment: you can use itertools.product rather than the nested for loops in hexagon and pentagon:

sage: from itertools import product
sage: list(product([1,2], repeat=3))                                                                                           
[(1, 1, 1), (1, 1, 2), (1, 2, 1), (1, 2, 2),
 (2, 1, 1), (2, 1, 2), (2, 2, 1), (2, 2, 2)]
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

7065b18use itertools.product
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 6093b1e to 7065b18

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 7065b18 to 36aafea

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

36aafeasome doctests
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

0f322eeindentation tweak
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 36aafea to 0f322ee

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

0cf69fdsome of Willie's improvements
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 0f322ee to 0cf69fd

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 0cf69fd to 4ed0ec9

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

4ed0ec9fix variable injection, add some of Willie's improvement's, observation of Galit reducing number of pentagon equations. Doctests are currently broke, will fix later
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 4ed0ec9 to 434a5c6

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

434a5c6doctest revisions, right-handed hexagon relations
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

ec1f943singletons, and only consider 2-term equations in substitute_degree_one
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 434a5c6 to ec1f943

mkoeppe commented 3 years ago
comment:13

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

6bbcde06-8197-41f1-b9a3-c998bb839000 commented 3 years ago
comment:14

Replying to @mkoeppe:

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

The main obstacle to finishing this ticket was removed by #31284.

Willie Aboumrad has substantial improvements. His working code is much faster. I hope that a new version of the code will be available soon (maybe within a week). It would be good to get this into Sage 9.3 since applications to quantum computing require working F-matrix code.

tscrim commented 3 years ago

Changed commit from ec1f943 to 6e94b83

tscrim commented 3 years ago

Changed branch from public/fusion_fmatrix-30423 to public/new_fmatrix-30423

tscrim commented 3 years ago

New commits:

6e94b83Willie's code implementing a cythonized version of the F-matrix code
tscrim commented 3 years ago

Changed work issues from Doctests are needed. It is possible that with some work more difficult cases can be handled, which would be highly desirable. to Doctests are needed

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from 6e94b83 to e129b94

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

e129b94work on f_matrix.py
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

2963d48now working to compute F-matrices
c229fb1remove unneeded map_reduce_engine
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from e129b94 to c229fb1

6bbcde06-8197-41f1-b9a3-c998bb839000 commented 3 years ago
comment:18

The code is now working to compute F-matrices.

Functionality to compute braid group representations is now a method of the FusionRing.

Docstrings need work but the example at the beginning of f_matrix.py. Coercions may need work.

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

8767fe2updated f_matrix to include executor code
d8fb553work on docstrings
1bf83afolder cyclotomic method included
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from c229fb1 to 1bf83af

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

33000e1added support for multiprocessing braid group representations. basic docstring coverage at 100p
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from 1bf83af to 33000e1

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

2e0d1e9begin work on base coercion
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from 33000e1 to 2e0d1e9

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

e9b9e37bugfix: remember .FM -> ._FM
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from 2e0d1e9 to e9b9e37

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from e9b9e37 to d134a72

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

d134a72work on base coercions
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from d134a72 to b92197c

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

b92197cclear equations in find_real_orthogonal_solution
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from b92197c to 54bb6b6

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

54bb6b6base coercion debugging
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

d94a214two missing files
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from 54bb6b6 to d94a214

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 3 years ago

Changed commit from d94a214 to 6cb376a