Giter Club home page Giter Club logo

autoboot's Introduction

autoboot

Automatical Generator of Conformal Bootstrap Equation

For more information, see autoboot: A generator of bootstrap equations with global symmetry, or An Automated Generation of Bootstrap Equations for Numerical Study of Critical Phenomena.

Some usages also can be checked by typing ?someSymbolName (for example, ?getGroup) in Mathematica. ?somePackageName`* (for example, ?ClebschGordan`*) will give package-lebel information. These usages are also documented in inv.md, group.md.

Setup

tar xvf sgd.tar.xz

Usage

To use autoboot, you have to load either group.m or ngroup.m (not both). ngroup.m requires just one call of setPrecision, which controls the precision of calculation in autoboot.

If you load group.m, all numerical values are rigorous and it takes much time in calculation (in some cases, Mathematica will freeze).

If you load ngroup.m, all numerical values (except for signs, multiplicities and so on) are approximated and it takes much less time.

Groups

autoboot supports many finite groups, some Lie groups and product groups of them. More formally, groups which we can treat as a global symmetry of CFT are defined by:

$group = $finite_group | $lie_group | pGroup[$group,$group]
$finite_group = group[$n,$n] | dih[$n] | dic[$n]
$lie_group = su[2] | so[2] | so[3] | o[2] | o[3] | su[4]
$n = positive_integer

Once you get a group G:

  1. Set G as a global symmetry by setGroup[G] (if you call this more than once, all values calculated by autoboot previously will be cleared).

  2. Register fundamental operators by setOps[...]. 'Fundamental' means that the operator in summation of all primary operator will be treated independently.

  3. Get bootstrap equations by bootAll[]. If you need human-readable format, use format[...].

  4. (Optionally) You can get a Python code for cboot by toCboot[makeSDP[eq]].

Irreps

Please see IrrepLabels.md.

Custom Group-Object

Please see CustomGroup.md.

Example

This example generates a bootstrap equation of D8-symmetric CFT. More example codes can be found in sample folder.

(* change the path of autoboot properly *)
SetDirectory["~/autoboot/"];
<< "group.m"
(* getGroup[8, 3] is isomorphic to getDihedral[4] *)
d8 = getGroup[8, 3];
setGroup[d8];
(* set e and v as fundamental operators. rep[5] is the unique 2-dim irrep of d8 (you can check this by d8[ct]). *)
setOps[{op[e, d8[id], 1, 1], op[v, rep[5], 1, 1]}]
format[eq = bootAll[]]
ans = makeSDP[eq];
WriteString["d8.py", toCboot[ans]]
(* specify how to convert operators to latex code *)
opToTeX[e] := "\\epsilon"
opToTeX[v] := "v"
(* specify how to convert irreps to latex code *)
repToTeX[rep[n_]] := TemplateApply["\\mathbf{`n`}", <|"n" -> n|>]
(* you can paste printed string to your latex file *)
Print[toTeX[eq]]

autoboot's People

Contributors

selpog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

autoboot's Issues

[BUG]

Describe the bug
After unzip the sgd folder, running D8.m will not produce the boostrap equation but
image
image
image

And the trace is

Evaluate[Symbol[GroupInfoLie`Private`<>dimension]]=Symbol[RootSystem`<>dimension];
<<grouplie.m
<<group.m

To Reproduce
Run D8.m would give the bug

Expected behavior
No error. Bootstrap equations are produced.

Desktop (please complete the following information):

  • OS: Mac
  • Mathematica Version 13.1.0.0
  • Version 2022

numerically unitarization

We need unitary irreps now. But it is so strong that some irreps of some groups cannot be calculated by GAP. We can unitarize irreps if we know how to generate full group from its generators (unitarization will be complicated, this feature will be supported only in ninv.m).

bootstrap equation with spins

We support only 4-point functions of scalars. It will be important to generate bootstrap equations with spins, because they must be tedious to write down than those of scalars.

more Lie algebras

We support few Lie algebras now, but in principle, we can construct any irreps of a simple Lie algebra.

[BUG]

Describe the bug
If I run Ising.m in sample it gives an error and not the correct output. The O2 example does work well.

To Reproduce
Run Ising.m. See error. (Specifically bootstrapAll[] gives an error.)

Expected behavior
Output crossing equations. Not give an error.

  • OS: Ubuntu 18.04
  • Mathematica Version "12.0.0 for Linux x86 (64-bit) (April 7, 2019)"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.