Skip to content

Commit dc37f75

Browse files
committed
regenerate tutorial docs for v0.4.0
1 parent 882689a commit dc37f75

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+180
-167
lines changed

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ Up to versions 0.1.x this package was called *TimeEvolvingMPO*.
8282
:maxdepth: 1
8383
:caption: Tutorials
8484

85-
pages/tutorials/quickstart/quickstart
86-
pages/tutorials/pt_tempo/pt_tempo
87-
pages/tutorials/bath_dynamics/bath_dynamics
88-
pages/tutorials/pt_tebd/pt_tebd
89-
pages/tutorials/mf_tempo/mf_tempo
85+
pages/tutorials/quickstart
86+
pages/tutorials/pt_tempo
87+
pages/tutorials/bath_dynamics
88+
pages/tutorials/pt_tebd
89+
pages/tutorials/mf_tempo
9090

9191
.. toctree::
9292
:maxdepth: 1

docs/pages/tutorials/bath_dynamics/bath_dynamics.rst renamed to docs/pages/tutorials/bath_dynamics.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ matrix elements evolve.
157157
158158
159159
160-
.. image:: output_10_2.png
160+
.. image:: bath_dynamics_files/bath_dynamics_10_2.png
161161

162162

163163
Already the process tensor tells us everything we could want to know
@@ -254,7 +254,7 @@ frequency, in this case let’s look at ``w = Omega`` and a bandwidth of
254254
255255
256256
257-
.. image:: output_14_2.png
257+
.. image:: bath_dynamics_files/bath_dynamics_14_2.png
258258

259259

260260
…that took quite a while. From the expression for :math:`\Delta Q` is
@@ -287,14 +287,13 @@ see what happens if we want the energy of another mode now, let’s say
287287
288288
289289
290-
.. image:: output_16_1.png
290+
.. image:: bath_dynamics_files/bath_dynamics_16_1.png
291291

292292

293293
Much quicker! This is because the same set of system correlation
294294
functions can be used to compute any bath correlation function
295295
:math:`\langle \alpha_2(t_2)\alpha_1(t_1)\rangle` where
296-
$:raw-latex:`\alpha`\_2, :raw-latex:`\alpha`\_1
297-
:raw-latex:`\in `{a_k^:raw-latex:`\dagger`,a_k} $ and
296+
:math:`\alpha_2, \alpha_1 \in \{a_k^\dagger,a_k\}` and
298297
:math:`t_1,t_2 < t_N`. So now we see the logic of having a bath_dynamics
299298
object, it allows us to conveniently store the calculated system
300299
correlation functions and re-use them as we like :)
@@ -331,7 +330,7 @@ exchanged over the process so simply look at the final value of
331330
332331
333332
334-
.. image:: output_18_1.png
333+
.. image:: bath_dynamics_files/bath_dynamics_18_1.png
335334

336335

337336
This is highly oscillatory, perhaps unsurprising from the dynamics we
@@ -366,7 +365,7 @@ we average over the last :math:`n` timesteps where
366365
367366
368367
369-
.. image:: output_20_1.png
368+
.. image:: bath_dynamics_files/bath_dynamics_20_1.png
370369

371370

372371
Here, as in the paper, we see heat is absorbed by the system from the
@@ -375,4 +374,3 @@ band of the modes in the vicinity of
375374
as in a Markovian theory the system would sample the environment purely
376375
at its eigensplitting :math:`\tilde{\Omega}`.
377376

378-
--------------

docs/pages/tutorials/bath_dynamics/output_10_2.png renamed to docs/pages/tutorials/bath_dynamics_files/bath_dynamics_10_2.png

File renamed without changes.

docs/pages/tutorials/bath_dynamics/output_14_2.png renamed to docs/pages/tutorials/bath_dynamics_files/bath_dynamics_14_2.png

File renamed without changes.

docs/pages/tutorials/bath_dynamics/output_16_1.png renamed to docs/pages/tutorials/bath_dynamics_files/bath_dynamics_16_1.png

File renamed without changes.

docs/pages/tutorials/bath_dynamics/output_18_1.png renamed to docs/pages/tutorials/bath_dynamics_files/bath_dynamics_18_1.png

File renamed without changes.

docs/pages/tutorials/bath_dynamics/output_20_1.png renamed to docs/pages/tutorials/bath_dynamics_files/bath_dynamics_20_1.png

File renamed without changes.

docs/pages/tutorials/mf_tempo/mf_tempo.rst renamed to docs/pages/tutorials/mf_tempo.rst

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ We firstly import OQuPy and other useful packages:
3636
import matplotlib.pyplot as plt
3737
3838
Check the current OQuPy version; mean-field functionality was introduced
39-
in version **0.3.0**.
39+
in version **0.3.0** and revised in its current format in **0.4.0.**
4040

4141
.. code:: ipython3
4242
@@ -352,8 +352,8 @@ used to compute the dynamics for an ordinary ``System``:
352352
.. parsed-literal::
353353
354354
--> TEMPO-with-field computation:
355-
100.0% 93 of 93 [########################################] 00:00:19
356-
Elapsed time: 20.0s
355+
100.0% 93 of 93 [########################################] 00:00:13
356+
Elapsed time: 13.3s
357357
358358
359359
``MeanFieldTempo.compute`` returns a ``MeanFieldDynamics`` object
@@ -385,12 +385,12 @@ producing the first part of a single line of **Fig. 2a.**:
385385
386386
.. parsed-literal::
387387
388-
<matplotlib.legend.Legend at 0x7f6c669133c8>
388+
<matplotlib.legend.Legend at 0x7f848ff957e0>
389389
390390
391391
392392
393-
.. image:: output_34_1.png
393+
.. image:: mf_tempo_files/mf_tempo_34_1.png
394394

395395

396396
If you have the time you can calculate the dynamics to
@@ -428,8 +428,8 @@ bath via
428428
.. parsed-literal::
429429
430430
--> PT-TEMPO computation:
431-
100.0% 93 of 93 [########################################] 00:00:06
432-
Elapsed time: 6.6s
431+
100.0% 93 of 93 [########################################] 00:00:02
432+
Elapsed time: 2.8s
433433
434434
435435
Refer the Time Dependence and PT-TEMPO tutorial for further discussion
@@ -482,17 +482,17 @@ using the process tensor (now in a list) calculated above:
482482
.. parsed-literal::
483483
484484
--> Compute dynamics with field:
485-
100.0% 93 of 93 [########################################] 00:00:15
486-
Elapsed time: 15.0s
485+
100.0% 93 of 93 [########################################] 00:00:09
486+
Elapsed time: 9.6s
487487
--> Compute dynamics with field:
488-
100.0% 93 of 93 [########################################] 00:00:14
489-
Elapsed time: 14.0s
488+
100.0% 93 of 93 [########################################] 00:00:09
489+
Elapsed time: 9.9s
490490
--> Compute dynamics with field:
491-
100.0% 93 of 93 [########################################] 00:00:15
492-
Elapsed time: 15.8s
491+
100.0% 93 of 93 [########################################] 00:00:09
492+
Elapsed time: 9.9s
493493
--> Compute dynamics with field:
494-
100.0% 93 of 93 [########################################] 00:00:14
495-
Elapsed time: 14.6s
494+
100.0% 93 of 93 [########################################] 00:00:08
495+
Elapsed time: 8.7s
496496
497497
498498
Finally, plotting the results:
@@ -513,12 +513,12 @@ Finally, plotting the results:
513513
514514
.. parsed-literal::
515515
516-
<matplotlib.legend.Legend at 0x7f6c66697b38>
516+
<matplotlib.legend.Legend at 0x7f848f7e88b0>
517517
518518
519519
520520
521-
.. image:: output_43_1.png
521+
.. image:: mf_tempo_files/mf_tempo_43_1.png
522522

523523

524524
5. Summary
@@ -535,4 +535,3 @@ dynamics:
535535
(process tensor) may be used to calculate ``MeanFieldDynamics``
536536
- ``MeanFieldDynamics`` comprises one of more system ``Dynamics`` and a
537537
set of field values ``fields``.
538-
-10.9 KB
Binary file not shown.
-18.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)