8000 GitHub - lengentyh/BootstrappedQM: Final project of QM 1 course at NTU during fall 2021
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lengentyh/BootstrappedQM

Repository files navigation

🧭 BootstrappedQM

Final project of QM 1 course at NTU, Taipei during fall 2021, in which the spectrum of spinless Hydrogen electron is solved through bootstrap method.

⚖️ LICENSE

🔰 Getting Started

0️⃣ Prepare the inputs in 'input.txt'.

Bootstrap

wcal.Emin   = -14    % lower bound of the energy window
wcal.Emax   = 0      % upper bound of the energy window
wcal.dE     = 0.001  % energy difference for each scanning step
wcal.l      = 1      % orbital angular momentum
wcal.k      = 20     % size of the moment matrix
wcal.digt   = 32     % numerical precision
wcal.ncpu   = 6      % number of cpus for parallel computation

endBootstrap

1️⃣ Write the chosen input file in 'main.m'.

%% Input
wcal = ReadInput('input.txt');

2️⃣ Run 'main.m' to scan the spectrum.

>> main.m

3️⃣ Write the chosen data file in 'Plot.m'.

%% Load data
load determinant.mat

4️⃣ Run 'Plot.m' to see the results.

>> Plot.m

🏁 Examples

To repeat the implementation results in the paper, plese use the input.txt in the folder inputs and the corresponding .mat file in the folder results. Still, one should adjust the graph in 'Plot.m' by himself/herself.

About

Final project of QM 1 course at NTU during fall 2021

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0