Skip to content

Commit

Permalink
deploy: b1de6c6
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Sep 21, 2023
1 parent 685ad2e commit beee283
Show file tree
Hide file tree
Showing 21 changed files with 277 additions and 277 deletions.
Binary file modified .doctrees/api/generated/ffsim.gates.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
24 changes: 12 additions & 12 deletions .doctrees/nbsphinx/tutorials/01-introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"execution_count": 1,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:46.670330Z",
"iopub.status.busy": "2023-09-21T21:02:46.669976Z",
"iopub.status.idle": "2023-09-21T21:02:47.009228Z",
"shell.execute_reply": "2023-09-21T21:02:47.008561Z"
"iopub.execute_input": "2023-09-21T22:43:02.600612Z",
"iopub.status.busy": "2023-09-21T22:43:02.600364Z",
"iopub.status.idle": "2023-09-21T22:43:02.981573Z",
"shell.execute_reply": "2023-09-21T22:43:02.980828Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -62,10 +62,10 @@
"execution_count": 2,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:47.018941Z",
"iopub.status.busy": "2023-09-21T21:02:47.018614Z",
"iopub.status.idle": "2023-09-21T21:02:47.025773Z",
"shell.execute_reply": "2023-09-21T21:02:47.025213Z"
"iopub.execute_input": "2023-09-21T22:43:02.987495Z",
"iopub.status.busy": "2023-09-21T22:43:02.986077Z",
"iopub.status.idle": "2023-09-21T22:43:02.992293Z",
"shell.execute_reply": "2023-09-21T22:43:02.991603Z"
}
},
"outputs": [],
Expand All @@ -92,10 +92,10 @@
"execution_count": 3,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:47.029015Z",
"iopub.status.busy": "2023-09-21T21:02:47.028797Z",
"iopub.status.idle": "2023-09-21T21:02:47.032683Z",
"shell.execute_reply": "2023-09-21T21:02:47.032089Z"
"iopub.execute_input": "2023-09-21T22:43:02.996653Z",
"iopub.status.busy": "2023-09-21T22:43:02.995426Z",
"iopub.status.idle": "2023-09-21T22:43:02.999986Z",
"shell.execute_reply": "2023-09-21T22:43:02.999461Z"
}
},
"outputs": [],
Expand Down
32 changes: 16 additions & 16 deletions .doctrees/nbsphinx/tutorials/02-orbital-rotation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"execution_count": 1,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:48.596345Z",
"iopub.status.busy": "2023-09-21T21:02:48.596032Z",
"iopub.status.idle": "2023-09-21T21:02:48.930931Z",
"shell.execute_reply": "2023-09-21T21:02:48.930281Z"
"iopub.execute_input": "2023-09-21T22:43:04.906063Z",
"iopub.status.busy": "2023-09-21T22:43:04.905630Z",
"iopub.status.idle": "2023-09-21T22:43:05.278420Z",
"shell.execute_reply": "2023-09-21T22:43:05.277663Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -111,10 +111,10 @@
"execution_count": 2,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:48.936277Z",
"iopub.status.busy": "2023-09-21T21:02:48.934835Z",
"iopub.status.idle": "2023-09-21T21:02:48.964860Z",
"shell.execute_reply": "2023-09-21T21:02:48.964294Z"
"iopub.execute_input": "2023-09-21T22:43:05.282317Z",
"iopub.status.busy": "2023-09-21T22:43:05.281939Z",
"iopub.status.idle": "2023-09-21T22:43:05.314759Z",
"shell.execute_reply": "2023-09-21T22:43:05.314004Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -160,10 +160,10 @@
"execution_count": 3,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:48.969456Z",
"iopub.status.busy": "2023-09-21T21:02:48.968162Z",
"iopub.status.idle": "2023-09-21T21:02:48.980495Z",
"shell.execute_reply": "2023-09-21T21:02:48.979938Z"
"iopub.execute_input": "2023-09-21T22:43:05.319137Z",
"iopub.status.busy": "2023-09-21T22:43:05.318869Z",
"iopub.status.idle": "2023-09-21T22:43:05.332654Z",
"shell.execute_reply": "2023-09-21T22:43:05.332027Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -203,10 +203,10 @@
"execution_count": 4,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:48.984787Z",
"iopub.status.busy": "2023-09-21T21:02:48.983509Z",
"iopub.status.idle": "2023-09-21T21:02:48.990092Z",
"shell.execute_reply": "2023-09-21T21:02:48.989551Z"
"iopub.execute_input": "2023-09-21T22:43:05.337299Z",
"iopub.status.busy": "2023-09-21T22:43:05.336214Z",
"iopub.status.idle": "2023-09-21T22:43:05.342939Z",
"shell.execute_reply": "2023-09-21T22:43:05.342347Z"
}
},
"outputs": [],
Expand Down
80 changes: 40 additions & 40 deletions .doctrees/nbsphinx/tutorials/03-double-factorized.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"execution_count": 1,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:50.678917Z",
"iopub.status.busy": "2023-09-21T21:02:50.677903Z",
"iopub.status.idle": "2023-09-21T21:02:51.174604Z",
"shell.execute_reply": "2023-09-21T21:02:51.174029Z"
"iopub.execute_input": "2023-09-21T22:43:07.424733Z",
"iopub.status.busy": "2023-09-21T22:43:07.424458Z",
"iopub.status.idle": "2023-09-21T22:43:07.917468Z",
"shell.execute_reply": "2023-09-21T22:43:07.916800Z"
}
},
"outputs": [
Expand Down Expand Up @@ -93,10 +93,10 @@
"execution_count": 2,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.188018Z",
"iopub.status.busy": "2023-09-21T21:02:51.187428Z",
"iopub.status.idle": "2023-09-21T21:02:51.194349Z",
"shell.execute_reply": "2023-09-21T21:02:51.193848Z"
"iopub.execute_input": "2023-09-21T22:43:07.935229Z",
"iopub.status.busy": "2023-09-21T22:43:07.934510Z",
"iopub.status.idle": "2023-09-21T22:43:07.944510Z",
"shell.execute_reply": "2023-09-21T22:43:07.943802Z"
}
},
"outputs": [
Expand Down Expand Up @@ -227,10 +227,10 @@
"execution_count": 3,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.197813Z",
"iopub.status.busy": "2023-09-21T21:02:51.197136Z",
"iopub.status.idle": "2023-09-21T21:02:51.202335Z",
"shell.execute_reply": "2023-09-21T21:02:51.201849Z"
"iopub.execute_input": "2023-09-21T22:43:07.948289Z",
"iopub.status.busy": "2023-09-21T22:43:07.947845Z",
"iopub.status.idle": "2023-09-21T22:43:07.955038Z",
"shell.execute_reply": "2023-09-21T22:43:07.954226Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -285,10 +285,10 @@
"execution_count": 4,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.205192Z",
"iopub.status.busy": "2023-09-21T21:02:51.204563Z",
"iopub.status.idle": "2023-09-21T21:02:51.208877Z",
"shell.execute_reply": "2023-09-21T21:02:51.208360Z"
"iopub.execute_input": "2023-09-21T22:43:07.959116Z",
"iopub.status.busy": "2023-09-21T22:43:07.958157Z",
"iopub.status.idle": "2023-09-21T22:43:07.963650Z",
"shell.execute_reply": "2023-09-21T22:43:07.963053Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -325,10 +325,10 @@
"execution_count": 5,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.211603Z",
"iopub.status.busy": "2023-09-21T21:02:51.211069Z",
"iopub.status.idle": "2023-09-21T21:02:51.216382Z",
"shell.execute_reply": "2023-09-21T21:02:51.215896Z"
"iopub.execute_input": "2023-09-21T22:43:07.966791Z",
"iopub.status.busy": "2023-09-21T22:43:07.966281Z",
"iopub.status.idle": "2023-09-21T22:43:07.973148Z",
"shell.execute_reply": "2023-09-21T22:43:07.972332Z"
}
},
"outputs": [
Expand Down Expand Up @@ -367,10 +367,10 @@
"execution_count": 6,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.219163Z",
"iopub.status.busy": "2023-09-21T21:02:51.218530Z",
"iopub.status.idle": "2023-09-21T21:02:51.231258Z",
"shell.execute_reply": "2023-09-21T21:02:51.230625Z"
"iopub.execute_input": "2023-09-21T22:43:07.976506Z",
"iopub.status.busy": "2023-09-21T22:43:07.975858Z",
"iopub.status.idle": "2023-09-21T22:43:07.989902Z",
"shell.execute_reply": "2023-09-21T22:43:07.989168Z"
}
},
"outputs": [
Expand Down Expand Up @@ -409,10 +409,10 @@
"execution_count": 7,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.234235Z",
"iopub.status.busy": "2023-09-21T21:02:51.233954Z",
"iopub.status.idle": "2023-09-21T21:02:51.244064Z",
"shell.execute_reply": "2023-09-21T21:02:51.243430Z"
"iopub.execute_input": "2023-09-21T22:43:07.993357Z",
"iopub.status.busy": "2023-09-21T22:43:07.992859Z",
"iopub.status.idle": "2023-09-21T22:43:08.005198Z",
"shell.execute_reply": "2023-09-21T22:43:08.004379Z"
}
},
"outputs": [
Expand Down Expand Up @@ -450,10 +450,10 @@
"execution_count": 8,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.246678Z",
"iopub.status.busy": "2023-09-21T21:02:51.246462Z",
"iopub.status.idle": "2023-09-21T21:02:51.297356Z",
"shell.execute_reply": "2023-09-21T21:02:51.296380Z"
"iopub.execute_input": "2023-09-21T22:43:08.008550Z",
"iopub.status.busy": "2023-09-21T22:43:08.008232Z",
"iopub.status.idle": "2023-09-21T22:43:08.059848Z",
"shell.execute_reply": "2023-09-21T22:43:08.059264Z"
}
},
"outputs": [
Expand Down Expand Up @@ -493,10 +493,10 @@
"execution_count": 9,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.300216Z",
"iopub.status.busy": "2023-09-21T21:02:51.300003Z",
"iopub.status.idle": "2023-09-21T21:02:51.344724Z",
"shell.execute_reply": "2023-09-21T21:02:51.344085Z"
"iopub.execute_input": "2023-09-21T22:43:08.063311Z",
"iopub.status.busy": "2023-09-21T22:43:08.062697Z",
"iopub.status.idle": "2023-09-21T22:43:08.104667Z",
"shell.execute_reply": "2023-09-21T22:43:08.103886Z"
}
},
"outputs": [
Expand Down Expand Up @@ -535,10 +535,10 @@
"execution_count": 10,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:51.347500Z",
"iopub.status.busy": "2023-09-21T21:02:51.347287Z",
"iopub.status.idle": "2023-09-21T21:02:51.364226Z",
"shell.execute_reply": "2023-09-21T21:02:51.363651Z"
"iopub.execute_input": "2023-09-21T22:43:08.107923Z",
"iopub.status.busy": "2023-09-21T22:43:08.107563Z",
"iopub.status.idle": "2023-09-21T22:43:08.127038Z",
"shell.execute_reply": "2023-09-21T22:43:08.126385Z"
}
},
"outputs": [
Expand Down
32 changes: 16 additions & 16 deletions .doctrees/nbsphinx/tutorials/04-lucj.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"execution_count": 1,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:53.316227Z",
"iopub.status.busy": "2023-09-21T21:02:53.315819Z",
"iopub.status.idle": "2023-09-21T21:02:53.752235Z",
"shell.execute_reply": "2023-09-21T21:02:53.751570Z"
"iopub.execute_input": "2023-09-21T22:43:10.530288Z",
"iopub.status.busy": "2023-09-21T22:43:10.529818Z",
"iopub.status.idle": "2023-09-21T22:43:10.988180Z",
"shell.execute_reply": "2023-09-21T22:43:10.987572Z"
}
},
"outputs": [
Expand Down Expand Up @@ -80,10 +80,10 @@
"execution_count": 2,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:53.756133Z",
"iopub.status.busy": "2023-09-21T21:02:53.755802Z",
"iopub.status.idle": "2023-09-21T21:02:53.970542Z",
"shell.execute_reply": "2023-09-21T21:02:53.969965Z"
"iopub.execute_input": "2023-09-21T22:43:10.991905Z",
"iopub.status.busy": "2023-09-21T22:43:10.991427Z",
"iopub.status.idle": "2023-09-21T22:43:11.241983Z",
"shell.execute_reply": "2023-09-21T22:43:11.240585Z"
}
},
"outputs": [
Expand Down Expand Up @@ -145,10 +145,10 @@
"execution_count": 3,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:53.974390Z",
"iopub.status.busy": "2023-09-21T21:02:53.973909Z",
"iopub.status.idle": "2023-09-21T21:02:54.141058Z",
"shell.execute_reply": "2023-09-21T21:02:54.140511Z"
"iopub.execute_input": "2023-09-21T22:43:11.245333Z",
"iopub.status.busy": "2023-09-21T22:43:11.245005Z",
"iopub.status.idle": "2023-09-21T22:43:11.418636Z",
"shell.execute_reply": "2023-09-21T22:43:11.417885Z"
}
},
"outputs": [
Expand Down Expand Up @@ -222,10 +222,10 @@
"execution_count": 4,
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-21T21:02:54.145671Z",
"iopub.status.busy": "2023-09-21T21:02:54.144422Z",
"iopub.status.idle": "2023-09-21T21:02:54.346849Z",
"shell.execute_reply": "2023-09-21T21:02:54.346275Z"
"iopub.execute_input": "2023-09-21T22:43:11.422540Z",
"iopub.status.busy": "2023-09-21T22:43:11.422094Z",
"iopub.status.idle": "2023-09-21T22:43:11.625730Z",
"shell.execute_reply": "2023-09-21T22:43:11.625122Z"
}
},
"outputs": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ffsim.gates.gates &#8212; ffsim 0.0.7.dev0 documentation</title>
<title>ffsim.gates.basic_gates &#8212; ffsim 0.0.7.dev0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=4f649999" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=039e1c02" />
<link rel="stylesheet" type="text/css" href="../../../_static/jupyter-sphinx.css" />
Expand Down Expand Up @@ -34,7 +34,7 @@

<div class="body" role="main">

<h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>
<h1>Source code for ffsim.gates.basic_gates</h1><div class="highlight"><pre>
<span></span><span class="c1"># (C) Copyright IBM 2023.</span>
<span class="c1">#</span>
<span class="c1"># This code is licensed under the Apache License, Version 2.0. You may</span>
Expand All @@ -45,7 +45,7 @@ <h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>
<span class="c1"># copyright notice, and modified files need to carry a notice indicating</span>
<span class="c1"># that they have been altered from the originals.</span>

<span class="sd">&quot;&quot;&quot;Fermionic quantum computation gates.&quot;&quot;&quot;</span>
<span class="sd">&quot;&quot;&quot;Basic fermionic quantum computation gates.&quot;&quot;&quot;</span>

<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">annotations</span>

Expand Down Expand Up @@ -85,7 +85,7 @@ <h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>


<div class="viewcode-block" id="apply_givens_rotation">
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.gates.apply_givens_rotation">[docs]</a>
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.basic_gates.apply_givens_rotation">[docs]</a>
<span class="k">def</span> <span class="nf">apply_givens_rotation</span><span class="p">(</span>
<span class="n">vec</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span>
<span class="n">theta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
Expand Down Expand Up @@ -140,7 +140,7 @@ <h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>


<div class="viewcode-block" id="apply_tunneling_interaction">
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.gates.apply_tunneling_interaction">[docs]</a>
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.basic_gates.apply_tunneling_interaction">[docs]</a>
<span class="k">def</span> <span class="nf">apply_tunneling_interaction</span><span class="p">(</span>
<span class="n">vec</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span>
<span class="n">theta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
Expand Down Expand Up @@ -200,7 +200,7 @@ <h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>


<div class="viewcode-block" id="apply_num_interaction">
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.gates.apply_num_interaction">[docs]</a>
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.basic_gates.apply_num_interaction">[docs]</a>
<span class="k">def</span> <span class="nf">apply_num_interaction</span><span class="p">(</span>
<span class="n">vec</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span>
<span class="n">theta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
Expand Down Expand Up @@ -255,7 +255,7 @@ <h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>


<div class="viewcode-block" id="apply_num_num_interaction">
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.gates.apply_num_num_interaction">[docs]</a>
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.basic_gates.apply_num_num_interaction">[docs]</a>
<span class="k">def</span> <span class="nf">apply_num_num_interaction</span><span class="p">(</span>
<span class="n">vec</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span>
<span class="n">theta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
Expand Down Expand Up @@ -314,7 +314,7 @@ <h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>


<div class="viewcode-block" id="apply_num_op_prod_interaction">
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.gates.apply_num_op_prod_interaction">[docs]</a>
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.basic_gates.apply_num_op_prod_interaction">[docs]</a>
<span class="k">def</span> <span class="nf">apply_num_op_prod_interaction</span><span class="p">(</span>
<span class="n">vec</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span>
<span class="n">theta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
Expand Down Expand Up @@ -365,7 +365,7 @@ <h1>Source code for ffsim.gates.gates</h1><div class="highlight"><pre>


<div class="viewcode-block" id="apply_hop_gate">
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.gates.apply_hop_gate">[docs]</a>
<a class="viewcode-back" href="../../../api/generated/ffsim.gates.html#ffsim.gates.basic_gates.apply_hop_gate">[docs]</a>
<span class="k">def</span> <span class="nf">apply_hop_gate</span><span class="p">(</span>
<span class="n">vec</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span>
<span class="n">theta</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
Expand Down
Loading

0 comments on commit beee283

Please sign in to comment.