yeah! add off-axis simulation

This commit is contained in:
valentin.boettcher@mailbox.tu-dresden.de 2023-05-08 15:06:37 -04:00
parent 0068785f47
commit c056a4f118
No known key found for this signature in database
GPG key ID: E034E12B7AF56ACE
35 changed files with 180201 additions and 502 deletions

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 81 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 3.3 MiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 167 KiB

View file

@ -1,413 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="872.39952pt" height="296.39952pt" viewBox="0 0 872.39952 296.39952" xmlns="http://www.w3.org/2000/svg" version="1.1">
<metadata>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<cc:Work>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:date>1980-01-01T00:00:00+00:00</dc:date>
<dc:format>image/svg+xml</dc:format>
<dc:creator>
<cc:Agent>
<dc:title>Matplotlib v3.6.2, https://matplotlib.org/</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<defs>
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
</defs>
<g id="figure_1">
<g id="patch_1">
<path d="M 0 296.39952
L 872.39952 296.39952
L 872.39952 0
L 0 0
z
" style="fill: #ffffff"/>
</g>
<g id="axes_1">
<g id="patch_2">
<path d="M 27.12069 273.014973
L 859.789175 273.014973
L 859.789175 9.967401
L 27.12069 9.967401
z
" style="fill: #ffffff"/>
</g>
<g id="matplotlib.axis_1">
<g id="xtick_1">
<g id="line2d_1">
<defs>
<path id="m76e8991670" d="M 0 0
L 0 3.5
" style="stroke: #000000; stroke-width: 0.8"/>
</defs>
<g>
<use xlink:href="#m76e8991670" x="27.12069" y="273.014973" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_1">
<!-- $\mathdefault{0.0}$ -->
<g transform="translate(21.710345 287.649774) scale(0.08 -0.08)">
<defs>
<path id="CMR17-30" d="M 2688 2025
C 2688 2416 2682 3080 2413 3591
C 2176 4039 1798 4198 1466 4198
C 1158 4198 768 4058 525 3597
C 269 3118 243 2524 243 2025
C 243 1661 250 1106 448 619
C 723 -39 1216 -128 1466 -128
C 1760 -128 2208 -7 2470 600
C 2662 1042 2688 1559 2688 2025
z
M 1466 -26
C 1056 -26 813 325 723 812
C 653 1188 653 1738 653 2096
C 653 2588 653 2997 736 3387
C 858 3929 1216 4096 1466 4096
C 1728 4096 2067 3923 2189 3400
C 2272 3036 2278 2607 2278 2096
C 2278 1680 2278 1169 2202 792
C 2067 95 1690 -26 1466 -26
z
" transform="scale(0.015625)"/>
<path id="CMMI12-3a" d="M 1178 307
C 1178 492 1024 619 870 619
C 685 619 557 466 557 313
C 557 128 710 0 864 0
C 1050 0 1178 153 1178 307
z
" transform="scale(0.015625)"/>
</defs>
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-30" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="xtick_2">
<g id="line2d_2">
<g>
<use xlink:href="#m76e8991670" x="193.654387" y="273.014973" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_2">
<!-- $\mathdefault{0.2}$ -->
<g transform="translate(188.244042 287.649774) scale(0.08 -0.08)">
<defs>
<path id="CMR17-32" d="M 2669 989
L 2554 989
C 2490 536 2438 459 2413 420
C 2381 369 1920 369 1830 369
L 602 369
C 832 619 1280 1072 1824 1597
C 2214 1967 2669 2402 2669 3035
C 2669 3790 2067 4224 1395 4224
C 691 4224 262 3604 262 3030
C 262 2780 448 2748 525 2748
C 589 2748 781 2787 781 3010
C 781 3207 614 3264 525 3264
C 486 3264 448 3258 422 3245
C 544 3790 915 4058 1306 4058
C 1862 4058 2227 3617 2227 3035
C 2227 2479 1901 2000 1536 1584
L 262 146
L 262 0
L 2515 0
L 2669 989
z
" transform="scale(0.015625)"/>
</defs>
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-32" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="xtick_3">
<g id="line2d_3">
<g>
<use xlink:href="#m76e8991670" x="360.188084" y="273.014973" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_3">
<!-- $\mathdefault{0.4}$ -->
<g transform="translate(354.777739 287.649774) scale(0.08 -0.08)">
<defs>
<path id="CMR17-34" d="M 2150 4122
C 2150 4256 2144 4256 2029 4256
L 128 1254
L 128 1088
L 1779 1088
L 1779 457
C 1779 224 1766 160 1318 160
L 1197 160
L 1197 0
C 1402 0 1747 0 1965 0
C 2182 0 2528 0 2733 0
L 2733 160
L 2611 160
C 2163 160 2150 224 2150 457
L 2150 1088
L 2803 1088
L 2803 1254
L 2150 1254
L 2150 4122
z
M 1798 3703
L 1798 1254
L 256 1254
L 1798 3703
z
" transform="scale(0.015625)"/>
</defs>
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-34" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="xtick_4">
<g id="line2d_4">
<g>
<use xlink:href="#m76e8991670" x="526.721781" y="273.014973" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_4">
<!-- $\mathdefault{0.6}$ -->
<g transform="translate(521.311436 287.649774) scale(0.08 -0.08)">
<defs>
<path id="CMR17-36" d="M 678 2176
C 678 3690 1395 4032 1811 4032
C 1946 4032 2272 4009 2400 3776
C 2298 3776 2106 3776 2106 3553
C 2106 3381 2246 3323 2336 3323
C 2394 3323 2566 3348 2566 3560
C 2566 3954 2246 4179 1805 4179
C 1043 4179 243 3390 243 1984
C 243 253 966 -128 1478 -128
C 2099 -128 2688 427 2688 1283
C 2688 2081 2170 2662 1517 2662
C 1126 2662 838 2407 678 1960
L 678 2176
z
M 1478 25
C 691 25 691 1200 691 1436
C 691 1896 909 2560 1504 2560
C 1613 2560 1926 2560 2138 2120
C 2253 1870 2253 1609 2253 1289
C 2253 944 2253 690 2118 434
C 1978 171 1773 25 1478 25
z
" transform="scale(0.015625)"/>
</defs>
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-36" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="xtick_5">
<g id="line2d_5">
<g>
<use xlink:href="#m76e8991670" x="693.255478" y="273.014973" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_5">
<!-- $\mathdefault{0.8}$ -->
<g transform="translate(687.845133 287.649774) scale(0.08 -0.08)">
<defs>
<path id="CMR17-38" d="M 1741 2264
C 2144 2467 2554 2773 2554 3263
C 2554 3841 1990 4179 1472 4179
C 890 4179 378 3759 378 3180
C 378 3021 416 2747 666 2505
C 730 2442 998 2251 1171 2130
C 883 1983 211 1634 211 934
C 211 279 838 -128 1459 -128
C 2144 -128 2720 362 2720 1010
C 2720 1590 2330 1857 2074 2029
L 1741 2264
z
M 902 2822
C 851 2854 595 3051 595 3351
C 595 3739 998 4032 1459 4032
C 1965 4032 2336 3676 2336 3262
C 2336 2669 1670 2331 1638 2331
C 1632 2331 1626 2331 1574 2370
L 902 2822
z
M 2080 1519
C 2176 1449 2483 1240 2483 851
C 2483 381 2010 25 1472 25
C 890 25 448 438 448 940
C 448 1443 838 1862 1280 2060
L 2080 1519
z
" transform="scale(0.015625)"/>
</defs>
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-38" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="xtick_6">
<g id="line2d_6">
<g>
<use xlink:href="#m76e8991670" x="859.789175" y="273.014973" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_6">
<!-- $\mathdefault{1.0}$ -->
<g transform="translate(854.37883 287.649774) scale(0.08 -0.08)">
<defs>
<path id="CMR17-31" d="M 1702 4058
C 1702 4192 1696 4192 1606 4192
C 1357 3916 979 3827 621 3827
C 602 3827 570 3827 563 3808
C 557 3795 557 3782 557 3648
C 755 3648 1088 3686 1344 3839
L 1344 461
C 1344 236 1331 160 781 160
L 589 160
L 589 0
C 896 0 1216 0 1523 0
C 1830 0 2150 0 2458 0
L 2458 160
L 2266 160
C 1715 160 1702 230 1702 458
L 1702 4058
z
" transform="scale(0.015625)"/>
</defs>
<use xlink:href="#CMR17-31" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-30" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
</g>
<g id="matplotlib.axis_2">
<g id="ytick_1">
<g id="line2d_7">
<defs>
<path id="m49a7d799ff" d="M 0 0
L -3.5 0
" style="stroke: #000000; stroke-width: 0.8"/>
</defs>
<g>
<use xlink:href="#m49a7d799ff" x="27.12069" y="273.014973" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_7">
<!-- $\mathdefault{0.0}$ -->
<g transform="translate(7.2 275.782373) scale(0.08 -0.08)">
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-30" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="ytick_2">
<g id="line2d_8">
<g>
<use xlink:href="#m49a7d799ff" x="27.12069" y="220.405458" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_8">
<!-- $\mathdefault{0.2}$ -->
<g transform="translate(7.2 223.172859) scale(0.08 -0.08)">
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-32" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="ytick_3">
<g id="line2d_9">
<g>
<use xlink:href="#m49a7d799ff" x="27.12069" y="167.795944" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_9">
<!-- $\mathdefault{0.4}$ -->
<g transform="translate(7.2 170.563345) scale(0.08 -0.08)">
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-34" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="ytick_4">
<g id="line2d_10">
<g>
<use xlink:href="#m49a7d799ff" x="27.12069" y="115.18643" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_10">
<!-- $\mathdefault{0.6}$ -->
<g transform="translate(7.2 117.95383) scale(0.08 -0.08)">
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-36" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="ytick_5">
<g id="line2d_11">
<g>
<use xlink:href="#m49a7d799ff" x="27.12069" y="62.576915" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_11">
<!-- $\mathdefault{0.8}$ -->
<g transform="translate(7.2 65.344316) scale(0.08 -0.08)">
<use xlink:href="#CMR17-30" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-38" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
<g id="ytick_6">
<g id="line2d_12">
<g>
<use xlink:href="#m49a7d799ff" x="27.12069" y="9.967401" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_12">
<!-- $\mathdefault{1.0}$ -->
<g transform="translate(7.2 12.734802) scale(0.08 -0.08)">
<use xlink:href="#CMR17-31" transform="scale(0.996264)"/>
<use xlink:href="#CMMI12-3a" transform="translate(45.690477 0) scale(0.996264)"/>
<use xlink:href="#CMR17-30" transform="translate(72.787654 0) scale(0.996264)"/>
</g>
</g>
</g>
</g>
<g id="patch_3">
<path d="M 27.12069 273.014973
L 27.12069 9.967401
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
</g>
<g id="patch_4">
<path d="M 859.789175 273.014973
L 859.789175 9.967401
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
</g>
<g id="patch_5">
<path d="M 27.12069 273.014973
L 859.789175 273.014973
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
</g>
<g id="patch_6">
<path d="M 27.12069 9.967401
L 859.789175 9.967401
" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 34 KiB

View file

@ -116,44 +116,31 @@ coupling-change/cycle time.
#+RESULTS:
:RESULTS:
# [goto error]
#+begin_example
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
Cell In[19], line 3
 1 fig, ax = plt.subplots()
 2 for model in models[:22]:
----> 3 pu.plot_with_σ(models[0].t, model.interaction_power().sum_baths().integrate(model.t), ax=ax)
 4 print(model.power(steady_idx=2).value, model.T[0], model.ω_c[0])
File ~/src/two_qubit_model/hiro_models/model_base.py:560, in Model.interaction_power(self, data, results_path, **kwargs)
 550 """Calculates interaction power from the hierarchy data
 551 ``data`` or, if not supplied, tries to load the online results from ``results_path``.
 552
 (...)
 556 :returns: See :any:`hopsflow.util.interaction_energy_ensemble`.
 557 """
 559 if data is None:
--> 560 return self.try_get_online_data(
 561  results_path, self.online_interaction_power_name
 562  )
 564 N, kwargs = _get_N_kwargs(kwargs, data)
 566 return hopsflow.hopsflow.interaction_energy_ensemble(
 567 data.valid_sample_iterator(data.stoc_traj), # type: ignore
 568 data.valid_sample_iterator(data.aux_states), # type: ignore
 (...)
 574 **kwargs,
 575 )
File ~/src/two_qubit_model/hiro_models/model_base.py:298, in Model.try_get_online_data(self, path, results_path)
 296 file_path = os.path.join(path, results_path)
 297 if not os.path.exists(file_path):
--> 298 raise RuntimeError(f"No data found under '{file_path}'.")
 300 return hopsflow.util.get_online_values_from_cache(file_path)
RuntimeError: No data found under 'results/interaction_power_922443c7c9913a4ba2ddbfd8792ec54f664d39dabe87377a2ab559a7fb96e0c4.npz'.
-0.006066419789176171 0.4 0.5
-0.005586445662789428 0.45 0.5
-0.005038545160476334 0.5 0.5
-0.004551607899071748 0.55 0.5
-0.004084369471683145 0.6 0.5
-0.006276938479392601 0.4 0.75
-0.005883213741945448 0.45 0.75
-0.0054760722009299465 0.5 0.75
-0.00509961243651586 0.55 0.75
-0.004713792601165993 0.6 0.75
-0.006003694926219254 0.4 1.0
-0.005630008851490323 0.45 1.0
-0.005247723184476385 0.5 1.0
-0.004922650999264568 0.55 1.0
-0.004561986692017902 0.6 1.0
-0.005792018673164359 0.4 1.25
-0.005411940557486204 0.45 1.25
-0.005122848900745669 0.5 1.25
-0.004739985218211038 0.55 1.25
-0.004424832509632545 0.6 1.25
-0.005671859616295697 0.4 1.5
-0.005321236317782547 0.45 1.5
#+end_example
[[file:./.ob-jupyter/ab84f357c909d82e98cfd1f6037a2cadeea34ed0.svg]]
[[file:./.ob-jupyter/917c1ebe76592c18cce8b87737189b95b83c50db.svg]]
:END:
#+begin_src jupyter-python
@ -163,7 +150,6 @@ coupling-change/cycle time.
#+end_src
#+RESULTS:
[[file:./.ob-jupyter/e528fb8f19cb154f99249ae08b8526951dd33e15.svg]]
#+begin_src jupyter-python
@ -172,8 +158,8 @@ coupling-change/cycle time.
#+RESULTS:
:RESULTS:
| <Figure | size | 1200x400 | with | 1 | Axes> | <AxesSubplot: | > | ((<matplotlib.lines.Line2D at 0x7fe105f9ab50>) <matplotlib.collections.PolyCollection at 0x7fe105f8ebb0>) |
[[file:./.ob-jupyter/4885b6623040daa45b75d948fb036da085c522c9.svg]]
| <Figure | size | 340x320 | with | 1 | Axes> | <AxesSubplot: | > | ((<matplotlib.lines.Line2D at 0x7efe37c44190>) <matplotlib.collections.PolyCollection at 0x7efe37c44400>) |
[[file:./.ob-jupyter/ab54ecc61173b390e1ce63542f07af12649117dd.svg]]
:END:
@ -184,7 +170,7 @@ coupling-change/cycle time.
#+RESULTS:
:RESULTS:
| <Figure | size | 340x320 | with | 2 | Axes> | (<AxesSubplot: xlabel= $N$ ylabel= $P$ > <AxesSubplot: xlabel= $N$ ylabel= $\eta$ >) |
[[file:./.ob-jupyter/7afe5e1a2790bc7742a36b7e0ea2e9f183cbfe10.svg]]
[[file:./.ob-jupyter/d61ecf7ba68b6c20786353099fd031aa665f86aa.svg]]
:END:
@ -223,7 +209,7 @@ coupling-change/cycle time.
#+end_src
#+RESULTS:
[[file:./.ob-jupyter/07f1f1a19b9b33e5c9af58f399dcc478a044e932.svg]]
[[file:./.ob-jupyter/59482d74634fe63bcb6cc489dfb1b792da1c169a.svg]]
#+begin_src jupyter-python
for model in models:
@ -234,31 +220,31 @@ coupling-change/cycle time.
:RESULTS:
: /home/hiro/Documents/Projects/UNI/master/eflow_paper/python/otto_motor/subprojects/bath_memory/plot_utils.py:38: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`.
: fig, ax = setup_function()
[[file:./.ob-jupyter/290caad0bc7481e77b62e154e819a3052988a353.svg]]
[[file:./.ob-jupyter/e8b252cae59fda98a794a1ec1be821de8386bfa5.svg]]
[[file:./.ob-jupyter/7578e57c2ced88ece15aa2eb8b6b4fee31a86fa5.svg]]
[[file:./.ob-jupyter/ae083462a06f34430245f74bf8b2d505505b11eb.svg]]
[[file:./.ob-jupyter/40176c0b61de5fafbd76bae36933c18b792c162f.svg]]
[[file:./.ob-jupyter/a729c746c7584030b59c745f8a0da489ca2df9ac.svg]]
[[file:./.ob-jupyter/c5d3a792975c43c9ee13cbd35cd77d8d30d64545.svg]]
[[file:./.ob-jupyter/62cce9a31e649c315c5344a5b7ab145247956616.svg]]
[[file:./.ob-jupyter/384fce2c3614d7a3c678cdd6ce167cb7f79d9c4d.svg]]
[[file:./.ob-jupyter/38c2e2473864fc5c8f731ba6f48566030cf4a3a5.svg]]
[[file:./.ob-jupyter/d8a3afcfc35f9d9d9a40075c3fdeec8a8957cc93.svg]]
[[file:./.ob-jupyter/f14802ccf46f078c21dc8a1e26635af0f4ab39bf.svg]]
[[file:./.ob-jupyter/755d3c5d71fe3b8ec39131d3198952df31a17a7b.svg]]
[[file:./.ob-jupyter/7254949bf847513aba74771a2809597ae6b88033.svg]]
[[file:./.ob-jupyter/4590cfbf00cd6448b0b65ec24727b68ae2e21136.svg]]
[[file:./.ob-jupyter/cbfee4685e5aaecf1c4b798c4e4c233f644ec650.svg]]
[[file:./.ob-jupyter/b30c5747264f8a6194ed77ccfcdd50adeb76b51d.svg]]
[[file:./.ob-jupyter/d202e0b54a0770448a65999b95397ea5a6a44d18.svg]]
[[file:./.ob-jupyter/4b3603a3c8bbb86268330b623f48109473ec2fe9.svg]]
[[file:./.ob-jupyter/73a0bb3e1f65d2c16dce19d1cf1fd6bb0cbfd0f5.svg]]
[[file:./.ob-jupyter/3b040333e231c06777ba0e0f29b70b03a0eefd2f.svg]]
[[file:./.ob-jupyter/8079dc4f28185d6ec5de3f2d2e4b422e628a9131.svg]]
[[file:./.ob-jupyter/204937f1fb806f49218e6170aea443a25b2db635.svg]]
[[file:./.ob-jupyter/a3844b8ba0b86f0be89f72f5ccd2324ef7ea5a49.svg]]
[[file:./.ob-jupyter/8914fa0ef315a35e5864206fd7102bd509bd59e6.svg]]
[[file:./.ob-jupyter/ca6f8c77e0d1c2c4c0588a27f1d5a73f06959b28.svg]]
[[file:./.ob-jupyter/9f04f59f958f8cd05e7fcfae012822448e28a0fa.svg]]
[[file:./.ob-jupyter/7e64dd5c305b62d7e61c8d54061ba0d5c0bd9c71.svg]]
[[file:./.ob-jupyter/a1049ebdd7cfc3033bda8fa6d8db69c76b10c5d4.svg]]
[[file:./.ob-jupyter/6f7c25ffff1125b68ed93c42984b3fbdbc623e4f.svg]]
[[file:./.ob-jupyter/bd8ed043725eac4e7087ce04a8f79cb6dd550bea.svg]]
[[file:./.ob-jupyter/b9f416d4b1330798fc77fc4e38c6ec544c84a2ad.svg]]
[[file:./.ob-jupyter/b7f019626c425b7fd2e28f1d70953cd433a26848.svg]]
[[file:./.ob-jupyter/fdde454c6d1a1e31736ab2f26b35c64424e217f3.svg]]
[[file:./.ob-jupyter/e0af7e1701860e27f7e3fe45f05b8c7c7bf21925.svg]]
[[file:./.ob-jupyter/af151eefe6085deb9679052c683cd68c4d511ade.svg]]
[[file:./.ob-jupyter/28b0b7edde79a9c047b455633716a30c742dcd8f.svg]]
[[file:./.ob-jupyter/471db72082118a478b1ca5e58ac27511fdb93ad5.svg]]
[[file:./.ob-jupyter/66c1ff99f83e6c30af2feb9341d02522d77dde69.svg]]
[[file:./.ob-jupyter/623e14113817b5d8f1074943abccdb7caa0c0bb0.svg]]
[[file:./.ob-jupyter/675689df6d994ce4b35bb864a382f9d7d285b248.svg]]
[[file:./.ob-jupyter/1ac491c0d095e16d95afe9602af94955acde385f.svg]]
[[file:./.ob-jupyter/41bcaaaa18868654a7a90a5f911a994028d3d3e8.svg]]
[[file:./.ob-jupyter/0bc90e1a20c538d634aa21afed202d1c2648222a.svg]]
[[file:./.ob-jupyter/b4790ef001a8c49fdf9a178196428c3ccdb95d25.svg]]
[[file:./.ob-jupyter/70822f7bcdb6cffa813ca2c828a59e6b3307d4ef.svg]]
[[file:./.ob-jupyter/7bcf53ab551180350c7516d1cd29b3c0608229b7.svg]]
[[file:./.ob-jupyter/6375902d049d7c66e42fc1ef593ce9a109b5992c.svg]]
[[file:./.ob-jupyter/9911ddfe7318ac880f7254510fc9dd449cf1a11d.svg]]
[[file:./.ob-jupyter/2b14a9fdd7d143dbeeba0b108a2df8c49e853c01.svg]]
:END:
* Things to Look At

View file

@ -41,12 +41,12 @@ z
<g id="xtick_1">
<g id="line2d_1">
<defs>
<path id="m5b165e7864" d="M 0 0
<path id="mfd77b5c3b7" d="M 0 0
L 0 3.5
" style="stroke: #000000; stroke-width: 0.8"/>
</defs>
<g>
<use xlink:href="#m5b165e7864" x="43.356847" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="43.356847" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_1">
@ -82,7 +82,7 @@ z
<g id="xtick_2">
<g id="line2d_2">
<g>
<use xlink:href="#m5b165e7864" x="70.161434" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="70.161434" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_2">
@ -148,7 +148,7 @@ z
<g id="xtick_3">
<g id="line2d_3">
<g>
<use xlink:href="#m5b165e7864" x="96.96602" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="96.96602" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_3">
@ -162,7 +162,7 @@ z
<g id="xtick_4">
<g id="line2d_4">
<g>
<use xlink:href="#m5b165e7864" x="123.770606" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="123.770606" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_4">
@ -197,7 +197,7 @@ z
<g id="xtick_5">
<g id="line2d_5">
<g>
<use xlink:href="#m5b165e7864" x="150.575193" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="150.575193" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_5">
@ -232,7 +232,7 @@ z
<g id="xtick_6">
<g id="line2d_6">
<g>
<use xlink:href="#m5b165e7864" x="177.379779" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="177.379779" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_6">
@ -247,7 +247,7 @@ z
<g id="xtick_7">
<g id="line2d_7">
<g>
<use xlink:href="#m5b165e7864" x="204.184365" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="204.184365" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_7">
@ -262,7 +262,7 @@ z
<g id="xtick_8">
<g id="line2d_8">
<g>
<use xlink:href="#m5b165e7864" x="230.988952" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#mfd77b5c3b7" x="230.988952" y="202.559296" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_8">
@ -305,12 +305,12 @@ z
<g id="ytick_1">
<g id="line2d_9">
<defs>
<path id="maee70f6dbd" d="M 0 0
<path id="m79b3e9efcc" d="M 0 0
L -3.5 0
" style="stroke: #000000; stroke-width: 0.8"/>
</defs>
<g>
<use xlink:href="#maee70f6dbd" x="33.707196" y="193.679328" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#m79b3e9efcc" x="33.707196" y="193.679328" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_10">
@ -344,7 +344,7 @@ z
<g id="ytick_2">
<g id="line2d_10">
<g>
<use xlink:href="#maee70f6dbd" x="33.707196" y="158.363945" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#m79b3e9efcc" x="33.707196" y="158.363945" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_11">
@ -390,7 +390,7 @@ z
<g id="ytick_3">
<g id="line2d_11">
<g>
<use xlink:href="#maee70f6dbd" x="33.707196" y="123.048562" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#m79b3e9efcc" x="33.707196" y="123.048562" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_12">
@ -431,7 +431,7 @@ z
<g id="ytick_4">
<g id="line2d_12">
<g>
<use xlink:href="#maee70f6dbd" x="33.707196" y="87.733179" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#m79b3e9efcc" x="33.707196" y="87.733179" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_13">
@ -475,7 +475,7 @@ z
<g id="ytick_5">
<g id="line2d_13">
<g>
<use xlink:href="#maee70f6dbd" x="33.707196" y="52.417797" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#m79b3e9efcc" x="33.707196" y="52.417797" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_14">
@ -491,7 +491,7 @@ z
<g id="ytick_6">
<g id="line2d_14">
<g>
<use xlink:href="#maee70f6dbd" x="33.707196" y="17.102414" style="stroke: #000000; stroke-width: 0.8"/>
<use xlink:href="#m79b3e9efcc" x="33.707196" y="17.102414" style="stroke: #000000; stroke-width: 0.8"/>
</g>
</g>
<g id="text_15">
@ -764,7 +764,7 @@ L 234.098284 136.470671
L 236.156876 136.888923
L 236.349869 136.852457
L 236.349869 136.852457
" clip-path="url(#p71932e806c)" style="fill: none; stroke: #1f77b4; stroke-width: 0.5; stroke-linecap: square"/>
" clip-path="url(#pb75cc43ef1)" style="fill: none; stroke: #1f77b4; stroke-width: 0.5; stroke-linecap: square"/>
</g>
<g id="line2d_16">
<path d="M 43.356847 17.102414
@ -788,7 +788,7 @@ L 187.522634 16.624958
L 209.137853 16.586317
L 236.349869 16.67763
L 236.349869 16.67763
" clip-path="url(#p71932e806c)" style="fill: none; stroke: #ff7f0e; stroke-width: 0.5; stroke-linecap: square"/>
" clip-path="url(#pb75cc43ef1)" style="fill: none; stroke: #ff7f0e; stroke-width: 0.5; stroke-linecap: square"/>
</g>
<g id="line2d_17">
<path d="M 43.356847 17.102414
@ -1031,7 +1031,7 @@ L 235.12758 17.200021
L 235.963883 17.152091
L 236.349869 17.334319
L 236.349869 17.334319
" clip-path="url(#p71932e806c)" style="fill: none; stroke: #2ca02c; stroke-width: 0.5; stroke-linecap: square"/>
" clip-path="url(#pb75cc43ef1)" style="fill: none; stroke: #2ca02c; stroke-width: 0.5; stroke-linecap: square"/>
</g>
<g id="patch_3">
<path d="M 33.707196 202.559296
@ -1269,7 +1269,7 @@ z
</g>
</g>
<defs>
<clipPath id="p71932e806c">
<clipPath id="pb75cc43ef1">
<rect x="33.707196" y="7.2" width="212.292324" height="195.359296"/>
</clipPath>
</defs>

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 70 KiB

View file

@ -261,13 +261,12 @@ The best shift:
#+begin_src jupyter-python
ot.plot_bloch_components(best_shift_model)
best_shift_model.hexhash
#+end_src
#+RESULTS:
:RESULTS:
: 7cac0199140ff8f9fb2e0073b950e079e582466b8a6aea99f286d5d81b62cad8
[[file:./.ob-jupyter/c578a4380fca2032a39326c64b497ca15a876dc2.svg]]
| <Figure | size | 340x320 | with | 1 | Axes> | <AxesSubplot: | xlabel= | $\tau$ | > |
[[file:./.ob-jupyter/39c87ed71bd7a32a2e9f1e4a360a9c8ae4827e5e.svg]]
:END:
@ -1089,3 +1088,47 @@ Way less energy is dumped into the cold bath.
- with these parameters the earlier obeservation does not recur
- more scan needed
- maybe slower coupling/decoupling will help
* Off-Axis Hamiltonian
#+begin_src jupyter-python :tangle tangle/off_axis.py :results none
<<boilerplate>>
#+end_src
#+begin_src jupyter-python :tangle tangle/off_axis.py
proto = sc.make_model(0, 0)
off_ax_models = []
for weight in [.3, .6]:
off_ax = proto.copy()
off_ax.H_0 = 1 / 2 * (qt.sigmaz().full() + np.eye(2) + weight * qt.sigmax().full())
off_ax.H_1 = off_ax.H_0.copy()
off_ax_models.append(off_ax)
#+end_src
#+RESULTS:
: 3.5999999999999996
#+begin_src jupyter-python :tangle tangle/off_axis.py
ot.integrate_online_multi(off_ax_models, 10, increment=10, analyze_kwargs=dict(every=10_000))
#+end_src
#+RESULTS:
: [INFO hops.core.integration 4057165] Choosing the nonlinear integrator.
: [INFO root 4057165] Starting analysis process.
: [INFO root 4057165] Started analysis process with pid 146332.
: [INFO hops.core.hierarchy_data 4057165] Creating the streaming fifo at: /home/hiro/Documents/Projects/UNI/master/eflow_paper/python/otto_motor/subprojects/cycle_shift/results_f41081a896f5826d5ec9ec455f52afb2020d140c4d25bd2986b63fb73863ee2d.fifo
: [INFO hops.core.integration 4057165] Using 16 integrators.
: [INFO hops.core.integration 4057165] Some 10 trajectories have to be integrated.
: [INFO hops.core.integration 4057165] Using 1001 hierarchy states.
: 100% 10/10 [00:45<00:00, 4.58s/it]
:
#+begin_src jupyter-julia
ot.plot_bloch_components(off_ax_models[1])
#+end_src
#+RESULTS:
:RESULTS:
| <Figure | size | 340x320 | with | 1 | Axes> | <AxesSubplot: | xlabel= | $\tau$ | > |
[[file:./.ob-jupyter/e322b02f00b192353074490f3ccb65cb06b4f3cb.svg]]
:END: