Skip to content

Commit

Permalink
deploy: 8a74c81
Browse files Browse the repository at this point in the history
  • Loading branch information
Jue-Xu committed Aug 4, 2024
1 parent 3a7f602 commit a8a39ce
Show file tree
Hide file tree
Showing 41 changed files with 87 additions and 90 deletions.
2 changes: 1 addition & 1 deletion README.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _sphinx_design_static/sphinx-design.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/sphinx-design.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion adaptive.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion anticommute.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion applications/misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="../_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="../_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion average.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion bound.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion channel.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion chem.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
14 changes: 7 additions & 7 deletions debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down Expand Up @@ -503,14 +503,14 @@ <h1>Debug<a class="headerlink" href="#debug" title="Link to this heading">#</a><
<span class="g g-Whitespace"> </span><span class="mi">17</span> <span class="n">exact_ob_s</span> <span class="o">=</span> <span class="n">exact_U</span><span class="o">.</span><span class="n">conj</span><span class="p">()</span><span class="o">.</span><span class="n">T</span> <span class="o">@</span> <span class="n">singl_ob</span> <span class="o">@</span> <span class="n">exact_U</span>
<span class="g g-Whitespace"> </span><span class="mi">18</span> <span class="n">appro_ob_s</span> <span class="o">=</span> <span class="n">appro_U</span><span class="o">.</span><span class="n">conj</span><span class="p">()</span><span class="o">.</span><span class="n">T</span> <span class="o">@</span> <span class="n">singl_ob</span> <span class="o">@</span> <span class="n">appro_U</span>

<span class="nn">File ~/work/Quantum-Simulation-Cookbook/Quantum-Simulation-Cookbook/trotter.py:97,</span> in <span class="ni">pf_r</span><span class="nt">(h_list, t, r, order, verbose, use_jax)</span>
<span class="nn">File ~/work/Cookbook-Quantum-Simulation/Cookbook-Quantum-Simulation/trotter.py:97,</span> in <span class="ni">pf_r</span><span class="nt">(h_list, t, r, order, verbose, use_jax)</span>
<span class="g g-Whitespace"> </span><span class="mi">95</span> <span class="k">if</span> <span class="n">order</span> <span class="o">==</span> <span class="mi">2</span><span class="p">:</span>
<span class="g g-Whitespace"> </span><span class="mi">96</span> <span class="k">if</span> <span class="n">use_jax</span><span class="p">:</span>
<span class="ne">---&gt; </span><span class="mi">97</span> <span class="n">list_U</span> <span class="o">=</span> <span class="p">[</span><span class="n">jax</span><span class="o">.</span><span class="n">scipy</span><span class="o">.</span><span class="n">linalg</span><span class="o">.</span><span class="n">expm</span><span class="p">(</span><span class="o">-</span><span class="mi">1</span><span class="n">j</span> <span class="o">*</span> <span class="p">(</span><span class="n">t</span> <span class="o">/</span> <span class="p">(</span><span class="mi">2</span><span class="o">*</span><span class="n">r</span><span class="p">))</span> <span class="o">*</span> <span class="n">herm</span><span class="p">)</span> <span class="k">for</span> <span class="n">herm</span> <span class="ow">in</span> <span class="n">h_list</span><span class="p">]</span>
<span class="g g-Whitespace"> </span><span class="mi">98</span> <span class="k">else</span><span class="p">:</span>
<span class="g g-Whitespace"> </span><span class="mi">99</span> <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">h_list</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span> <span class="n">csr_matrix</span><span class="p">):</span>

<span class="nn">File ~/work/Quantum-Simulation-Cookbook/Quantum-Simulation-Cookbook/trotter.py:97,</span> in <span class="ni">&lt;listcomp&gt;</span><span class="nt">(.0)</span>
<span class="nn">File ~/work/Cookbook-Quantum-Simulation/Cookbook-Quantum-Simulation/trotter.py:97,</span> in <span class="ni">&lt;listcomp&gt;</span><span class="nt">(.0)</span>
<span class="g g-Whitespace"> </span><span class="mi">95</span> <span class="k">if</span> <span class="n">order</span> <span class="o">==</span> <span class="mi">2</span><span class="p">:</span>
<span class="g g-Whitespace"> </span><span class="mi">96</span> <span class="k">if</span> <span class="n">use_jax</span><span class="p">:</span>
<span class="ne">---&gt; </span><span class="mi">97</span> <span class="n">list_U</span> <span class="o">=</span> <span class="p">[</span><span class="n">jax</span><span class="o">.</span><span class="n">scipy</span><span class="o">.</span><span class="n">linalg</span><span class="o">.</span><span class="n">expm</span><span class="p">(</span><span class="o">-</span><span class="mi">1</span><span class="n">j</span> <span class="o">*</span> <span class="p">(</span><span class="n">t</span> <span class="o">/</span> <span class="p">(</span><span class="mi">2</span><span class="o">*</span><span class="n">r</span><span class="p">))</span> <span class="o">*</span> <span class="n">herm</span><span class="p">)</span> <span class="k">for</span> <span class="n">herm</span> <span class="ow">in</span> <span class="n">h_list</span><span class="p">]</span>
Expand All @@ -536,7 +536,7 @@ <h1>Debug<a class="headerlink" href="#debug" title="Link to this heading">#</a><
<span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">49</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">193</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.01</span><span class="n">j</span>
<span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">2</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.014000000000000004</span><span class="n">j</span>
<span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">2</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.014000000000000002</span><span class="n">j</span>
<span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">14</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">50</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">194</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
Expand All @@ -545,7 +545,7 @@ <h1>Debug<a class="headerlink" href="#debug" title="Link to this heading">#</a><
<span class="p">(</span><span class="mi">3</span><span class="p">,</span> <span class="mi">15</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">3</span><span class="p">,</span> <span class="mi">51</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">3</span><span class="p">,</span> <span class="mi">195</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">4</span><span class="p">,</span> <span class="mi">4</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.012000000000000002</span><span class="n">j</span>
<span class="p">(</span><span class="mi">4</span><span class="p">,</span> <span class="mi">4</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.012</span><span class="n">j</span>
<span class="p">(</span><span class="mi">4</span><span class="p">,</span> <span class="mi">7</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">4</span><span class="p">,</span> <span class="mi">8</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.01</span><span class="n">j</span>
<span class="p">(</span><span class="mi">4</span><span class="p">,</span> <span class="mi">52</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
Expand All @@ -564,7 +564,7 @@ <h1>Debug<a class="headerlink" href="#debug" title="Link to this heading">#</a><
<span class="p">(</span><span class="mi">253</span><span class="p">,</span> <span class="mi">61</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">253</span><span class="p">,</span> <span class="mi">205</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">253</span><span class="p">,</span> <span class="mi">241</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">253</span><span class="p">,</span> <span class="mi">253</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.0059999999999999975</span><span class="n">j</span>
<span class="p">(</span><span class="mi">253</span><span class="p">,</span> <span class="mi">253</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.006000000000000001</span><span class="n">j</span>
<span class="p">(</span><span class="mi">253</span><span class="p">,</span> <span class="mi">254</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.01</span><span class="n">j</span>
<span class="p">(</span><span class="mi">254</span><span class="p">,</span> <span class="mi">62</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">254</span><span class="p">,</span> <span class="mi">206</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
Expand All @@ -575,7 +575,7 @@ <h1>Debug<a class="headerlink" href="#debug" title="Link to this heading">#</a><
<span class="p">(</span><span class="mi">255</span><span class="p">,</span> <span class="mi">207</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">255</span><span class="p">,</span> <span class="mi">243</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">255</span><span class="p">,</span> <span class="mi">252</span><span class="p">)</span> <span class="mi">0</span><span class="n">j</span>
<span class="p">(</span><span class="mi">255</span><span class="p">,</span> <span class="mi">255</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.015999999999999997</span><span class="n">j</span><span class="s1">&#39; of type &lt;class &#39;</span><span class="n">scipy</span><span class="o">.</span><span class="n">sparse</span><span class="o">.</span><span class="n">_csr</span><span class="o">.</span><span class="n">csr_matrix</span><span class="s1">&#39;&gt; is not a valid JAX type.</span>
<span class="p">(</span><span class="mi">255</span><span class="p">,</span> <span class="mi">255</span><span class="p">)</span> <span class="o">-</span><span class="mf">0.016</span><span class="n">j</span><span class="s1">&#39; of type &lt;class &#39;</span><span class="n">scipy</span><span class="o">.</span><span class="n">sparse</span><span class="o">.</span><span class="n">_csr</span><span class="o">.</span><span class="n">csr_matrix</span><span class="s1">&#39;&gt; is not a valid JAX type.</span>
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion fermion.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion field.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
2 changes: 1 addition & 1 deletion genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/proof.css?v=ca93fcec" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />

<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
Expand Down
Loading

0 comments on commit a8a39ce

Please sign in to comment.