Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate terms in the Baker–Campbell–Hausdorff expansion
ResourceFunction["BakerCampbellHausdorffTerms"][{op1,op2,…,opm},n,alg] generates the degree-n term of the Baker-Campbell-Hausdorff expansion. |
Degree-1 of Baker-Campbell-Hausdorff formula for two operators:
In[1]:= | ![]() |
Out[1]= | ![]() |
Degree-2 of Baker-Campbell-Hausdorff formula for two operators, in the commutator form:
In[2]:= | ![]() |
Out[2]= | ![]() |
Degree-4 of Baker-Campbell-Hausdorff formula for two operators:
In[3]:= | ![]() |
Out[3]= | ![]() |
Degree-2 of Baker-Campbell-Hausdorff formula for three symbolic matrices:
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
Degree-3 of Baker-Campbell-Hausdorff formula for three operators with Composition as the action:
In[6]:= | ![]() |
Out[6]= | ![]() |
Degree-3 of Baker-Campbell-Hausdorff formula with NonCommutativeMultiply as the action between operators:
In[7]:= | ![]() |
Out[7]= | ![]() |
Show degree-3 of Baker-Campbell-Hausdorff formula, for four operators:
In[8]:= | ![]() |
Out[8]= | ![]() |
Show degree-3 of Baker-Campbell-Hausdorff formula for two operators by holding the commutator form:
In[9]:= | ![]() |
Out[9]= | ![]() |
Show degree-2 of Baker-Campbell-Hausdorff formula for four symbolic matrices by holding the commutator form:
In[10]:= | ![]() |
Out[10]= | ![]() |
Show a few terms of Baker-Campbell-Hausdorff formula 𝒵=Log(ⅇX1ⅇX2…ⅇXn) with three non-commutative operators Xj:
In[11]:= | ![]() |
Out[11]= | ![]() |
Show the commutator form of 𝒵=Log(ⅇX1ⅇX2):
In[12]:= | ![]() |
Out[12]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License