-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The adiabatic populations are now transformed from the diabatic ones. Also add an example of three state crossing potential and a simple LZ fix for that (LZ probabilities are sorted).
- Loading branch information
Showing
9 changed files
with
215 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env wolframscript | ||
(* ::Package:: *) | ||
|
||
ClearAll["Global`*"]; | ||
|
||
|
||
Ud[x_]:={ | ||
{0.01*Tanh[0.6*x],0.001*Exp[-x^2],0.001*Exp[-x^2]}, | ||
{0.001*Exp[-x^2],0,0.001*Exp[-x^2]}, | ||
{0.001*Exp[-x^2],0.001*Exp[-x^2],-0.01*Tanh[0.6*x]} | ||
};Ud[x]//MatrixForm | ||
|
||
|
||
GraphicsRow[{Plot[Evaluate@Diagonal@Ud[x],{x,-8,8}],Plot[Evaluate@Sort@Eigenvalues[Ud[x]],{x,-8,8}]}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env wolframscript | ||
(* ::Package:: *) | ||
|
||
ClearAll["Global`*"] | ||
|
||
|
||
points={0,-1,-2,-3,-4};order=2; | ||
|
||
|
||
A=Join[{ConstantArray[1,Length@points]},Table[points^k,{k,1,Length@points-1}]];A//MatrixForm | ||
b=D[Table[x^k,{k,0,Length@points-1}],{x,order}]/.x->points[[1]];b//MatrixForm | ||
|
||
|
||
LinearSolve[A,b] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env wolframscript | ||
(* ::Package:: *) | ||
|
||
ClearAll["Global`*"] | ||
|
||
|
||
\[Psi][x_]=Exp[-(x-x0)^2]*Exp[+I*p0*x] | ||
|
||
|
||
W[x_,p_]=Factor@Simplify@Integrate[Simplify[Refine[\[Psi][x+y]\[Conjugate],{p0\[Element]Reals,x\[Element]Reals,x0\[Element]Reals,y\[Element]Reals}]*\[Psi][x-y]]*Exp[2*I*p*y],{y,-Infinity,Infinity}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.