diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle index 799fa3603..4711208d7 100644 Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ diff --git a/.doctrees/explanations/hamiltonians.doctree b/.doctrees/explanations/hamiltonians.doctree index f776d2c09..b74ba81dd 100644 Binary files a/.doctrees/explanations/hamiltonians.doctree and b/.doctrees/explanations/hamiltonians.doctree differ diff --git a/.doctrees/how-to-guides/entanglement-forging.doctree b/.doctrees/how-to-guides/entanglement-forging.doctree index e08f41115..3ae2e408f 100644 Binary files a/.doctrees/how-to-guides/entanglement-forging.doctree and b/.doctrees/how-to-guides/entanglement-forging.doctree differ diff --git a/.doctrees/how-to-guides/fermion-operator.doctree b/.doctrees/how-to-guides/fermion-operator.doctree index 51449f975..982f6bdaa 100644 Binary files a/.doctrees/how-to-guides/fermion-operator.doctree and b/.doctrees/how-to-guides/fermion-operator.doctree differ diff --git a/.doctrees/how-to-guides/lucj.doctree b/.doctrees/how-to-guides/lucj.doctree index ab559d888..d3cd8963d 100644 Binary files a/.doctrees/how-to-guides/lucj.doctree and b/.doctrees/how-to-guides/lucj.doctree differ diff --git a/.doctrees/index.doctree b/.doctrees/index.doctree index 6a5d4c92c..2e2ee699d 100644 Binary files a/.doctrees/index.doctree and b/.doctrees/index.doctree differ diff --git a/.doctrees/nbsphinx/explanations/hamiltonians.ipynb b/.doctrees/nbsphinx/explanations/hamiltonians.ipynb index b54538295..d33079c25 100644 --- a/.doctrees/nbsphinx/explanations/hamiltonians.ipynb +++ b/.doctrees/nbsphinx/explanations/hamiltonians.ipynb @@ -33,10 +33,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:33.963543Z", - "iopub.status.busy": "2024-04-24T07:11:33.963092Z", - "iopub.status.idle": "2024-04-24T07:11:34.576995Z", - "shell.execute_reply": "2024-04-24T07:11:34.576483Z" + "iopub.execute_input": "2024-04-24T07:19:15.439043Z", + "iopub.status.busy": "2024-04-24T07:19:15.438845Z", + "iopub.status.idle": "2024-04-24T07:19:16.076125Z", + "shell.execute_reply": "2024-04-24T07:19:16.075453Z" } }, "outputs": [], @@ -68,10 +68,10 @@ "execution_count": 2, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:34.579833Z", - "iopub.status.busy": "2024-04-24T07:11:34.579366Z", - "iopub.status.idle": "2024-04-24T07:11:34.582338Z", - "shell.execute_reply": "2024-04-24T07:11:34.581878Z" + "iopub.execute_input": "2024-04-24T07:19:16.079192Z", + "iopub.status.busy": "2024-04-24T07:19:16.078687Z", + "iopub.status.idle": "2024-04-24T07:19:16.081889Z", + "shell.execute_reply": "2024-04-24T07:19:16.081394Z" } }, "outputs": [], @@ -99,10 +99,10 @@ "execution_count": 3, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:34.584820Z", - "iopub.status.busy": "2024-04-24T07:11:34.584391Z", - "iopub.status.idle": "2024-04-24T07:11:34.587820Z", - "shell.execute_reply": "2024-04-24T07:11:34.587248Z" + "iopub.execute_input": "2024-04-24T07:19:16.083974Z", + "iopub.status.busy": "2024-04-24T07:19:16.083796Z", + "iopub.status.idle": "2024-04-24T07:19:16.087046Z", + "shell.execute_reply": "2024-04-24T07:19:16.086583Z" } }, "outputs": [], @@ -127,10 +127,10 @@ "execution_count": 4, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:34.590114Z", - "iopub.status.busy": "2024-04-24T07:11:34.589754Z", - "iopub.status.idle": "2024-04-24T07:11:34.594821Z", - "shell.execute_reply": "2024-04-24T07:11:34.594265Z" + "iopub.execute_input": "2024-04-24T07:19:16.089338Z", + "iopub.status.busy": "2024-04-24T07:19:16.088995Z", + "iopub.status.idle": "2024-04-24T07:19:16.093883Z", + "shell.execute_reply": "2024-04-24T07:19:16.093353Z" } }, "outputs": [], @@ -152,17 +152,17 @@ "execution_count": 5, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:34.598448Z", - "iopub.status.busy": "2024-04-24T07:11:34.597309Z", - "iopub.status.idle": "2024-04-24T07:11:34.629873Z", - "shell.execute_reply": "2024-04-24T07:11:34.629242Z" + "iopub.execute_input": "2024-04-24T07:19:16.096778Z", + "iopub.status.busy": "2024-04-24T07:19:16.096390Z", + "iopub.status.idle": "2024-04-24T07:19:16.125386Z", + "shell.execute_reply": "2024-04-24T07:19:16.124813Z" } }, "outputs": [ { "data": { "text/plain": [ - "-99.5571707255155" + "-99.55717072551582" ] }, "execution_count": 5, @@ -191,10 +191,10 @@ "execution_count": 6, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:34.662981Z", - "iopub.status.busy": "2024-04-24T07:11:34.662594Z", - "iopub.status.idle": "2024-04-24T07:11:35.401883Z", - "shell.execute_reply": "2024-04-24T07:11:35.401266Z" + "iopub.execute_input": "2024-04-24T07:19:16.162189Z", + "iopub.status.busy": "2024-04-24T07:19:16.161674Z", + "iopub.status.idle": "2024-04-24T07:19:16.990421Z", + "shell.execute_reply": "2024-04-24T07:19:16.989759Z" } }, "outputs": [ @@ -202,7 +202,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "/tmp/ipykernel_4332/2190712273.py:2: UserWarning: Trace of LinearOperator not available, it will be estimated. Provide `traceA` to ensure performance.\n", + "/tmp/ipykernel_4308/2190712273.py:2: UserWarning: Trace of LinearOperator not available, it will be estimated. Provide `traceA` to ensure performance.\n", " evolved_vec = scipy.sparse.linalg.expm_multiply(-1j * time * linop, vec)\n" ] } @@ -224,10 +224,10 @@ "execution_count": 7, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:35.406308Z", - "iopub.status.busy": "2024-04-24T07:11:35.405161Z", - "iopub.status.idle": "2024-04-24T07:11:36.293083Z", - "shell.execute_reply": "2024-04-24T07:11:36.292484Z" + "iopub.execute_input": "2024-04-24T07:19:16.994189Z", + "iopub.status.busy": "2024-04-24T07:19:16.993420Z", + "iopub.status.idle": "2024-04-24T07:19:17.877160Z", + "shell.execute_reply": "2024-04-24T07:19:17.876504Z" } }, "outputs": [], diff --git a/.doctrees/nbsphinx/explanations/orbital-rotation.ipynb b/.doctrees/nbsphinx/explanations/orbital-rotation.ipynb index aa96276e9..cc1b71d4c 100644 --- a/.doctrees/nbsphinx/explanations/orbital-rotation.ipynb +++ b/.doctrees/nbsphinx/explanations/orbital-rotation.ipynb @@ -62,10 +62,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:38.021734Z", - "iopub.status.busy": "2024-04-24T07:11:38.021535Z", - "iopub.status.idle": "2024-04-24T07:11:38.638847Z", - "shell.execute_reply": "2024-04-24T07:11:38.638242Z" + "iopub.execute_input": "2024-04-24T07:19:19.612998Z", + "iopub.status.busy": "2024-04-24T07:19:19.612793Z", + "iopub.status.idle": "2024-04-24T07:19:20.260363Z", + "shell.execute_reply": "2024-04-24T07:19:20.259523Z" } }, "outputs": [], diff --git a/.doctrees/nbsphinx/explanations/state-vectors-and-gates.ipynb b/.doctrees/nbsphinx/explanations/state-vectors-and-gates.ipynb index 525a3b2fd..4b6ada2e4 100644 --- a/.doctrees/nbsphinx/explanations/state-vectors-and-gates.ipynb +++ b/.doctrees/nbsphinx/explanations/state-vectors-and-gates.ipynb @@ -26,10 +26,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:40.151148Z", - "iopub.status.busy": "2024-04-24T07:11:40.150954Z", - "iopub.status.idle": "2024-04-24T07:11:40.761322Z", - "shell.execute_reply": "2024-04-24T07:11:40.760688Z" + "iopub.execute_input": "2024-04-24T07:19:21.736871Z", + "iopub.status.busy": "2024-04-24T07:19:21.736662Z", + "iopub.status.idle": "2024-04-24T07:19:22.375746Z", + "shell.execute_reply": "2024-04-24T07:19:22.375110Z" } }, "outputs": [ @@ -74,10 +74,10 @@ "execution_count": 2, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:40.764095Z", - "iopub.status.busy": "2024-04-24T07:11:40.763511Z", - "iopub.status.idle": "2024-04-24T07:11:40.770429Z", - "shell.execute_reply": "2024-04-24T07:11:40.769866Z" + "iopub.execute_input": "2024-04-24T07:19:22.378630Z", + "iopub.status.busy": "2024-04-24T07:19:22.378169Z", + "iopub.status.idle": "2024-04-24T07:19:22.385331Z", + "shell.execute_reply": "2024-04-24T07:19:22.384824Z" } }, "outputs": [ @@ -118,10 +118,10 @@ "execution_count": 3, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:40.772636Z", - "iopub.status.busy": "2024-04-24T07:11:40.772317Z", - "iopub.status.idle": "2024-04-24T07:11:40.776546Z", - "shell.execute_reply": "2024-04-24T07:11:40.775984Z" + "iopub.execute_input": "2024-04-24T07:19:22.387685Z", + "iopub.status.busy": "2024-04-24T07:19:22.387344Z", + "iopub.status.idle": "2024-04-24T07:19:22.391896Z", + "shell.execute_reply": "2024-04-24T07:19:22.391378Z" } }, "outputs": [ @@ -155,10 +155,10 @@ "execution_count": 4, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:40.778903Z", - "iopub.status.busy": "2024-04-24T07:11:40.778521Z", - "iopub.status.idle": "2024-04-24T07:11:40.782526Z", - "shell.execute_reply": "2024-04-24T07:11:40.782049Z" + "iopub.execute_input": "2024-04-24T07:19:22.394313Z", + "iopub.status.busy": "2024-04-24T07:19:22.393866Z", + "iopub.status.idle": "2024-04-24T07:19:22.398152Z", + "shell.execute_reply": "2024-04-24T07:19:22.397672Z" } }, "outputs": [ @@ -197,10 +197,10 @@ "execution_count": 5, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:40.784698Z", - "iopub.status.busy": "2024-04-24T07:11:40.784373Z", - "iopub.status.idle": "2024-04-24T07:11:40.790752Z", - "shell.execute_reply": "2024-04-24T07:11:40.790182Z" + "iopub.execute_input": "2024-04-24T07:19:22.400483Z", + "iopub.status.busy": "2024-04-24T07:19:22.400094Z", + "iopub.status.idle": "2024-04-24T07:19:22.406184Z", + "shell.execute_reply": "2024-04-24T07:19:22.405604Z" } }, "outputs": [ @@ -243,10 +243,10 @@ "execution_count": 6, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:40.793072Z", - "iopub.status.busy": "2024-04-24T07:11:40.792741Z", - "iopub.status.idle": "2024-04-24T07:11:40.798031Z", - "shell.execute_reply": "2024-04-24T07:11:40.797467Z" + "iopub.execute_input": "2024-04-24T07:19:22.408494Z", + "iopub.status.busy": "2024-04-24T07:19:22.408125Z", + "iopub.status.idle": "2024-04-24T07:19:22.413467Z", + "shell.execute_reply": "2024-04-24T07:19:22.412907Z" } }, "outputs": [ diff --git a/.doctrees/nbsphinx/how-to-guides/entanglement-forging.ipynb b/.doctrees/nbsphinx/how-to-guides/entanglement-forging.ipynb index 2dfabc9f3..34dbb9b3c 100644 --- a/.doctrees/nbsphinx/how-to-guides/entanglement-forging.ipynb +++ b/.doctrees/nbsphinx/how-to-guides/entanglement-forging.ipynb @@ -14,10 +14,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:42.297014Z", - "iopub.status.busy": "2024-04-24T07:11:42.296475Z", - "iopub.status.idle": "2024-04-24T07:11:43.109328Z", - "shell.execute_reply": "2024-04-24T07:11:43.108642Z" + "iopub.execute_input": "2024-04-24T07:19:24.216947Z", + "iopub.status.busy": "2024-04-24T07:19:24.216493Z", + "iopub.status.idle": "2024-04-24T07:19:25.052352Z", + "shell.execute_reply": "2024-04-24T07:19:25.051696Z" } }, "outputs": [ @@ -80,10 +80,10 @@ "execution_count": 2, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:43.113066Z", - "iopub.status.busy": "2024-04-24T07:11:43.112712Z", - "iopub.status.idle": "2024-04-24T07:11:43.191084Z", - "shell.execute_reply": "2024-04-24T07:11:43.190598Z" + "iopub.execute_input": "2024-04-24T07:19:25.056546Z", + "iopub.status.busy": "2024-04-24T07:19:25.055546Z", + "iopub.status.idle": "2024-04-24T07:19:25.135059Z", + "shell.execute_reply": "2024-04-24T07:19:25.134453Z" } }, "outputs": [ @@ -91,7 +91,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Energy at initialialization: -74.20656273321637\n" + "Energy at initialialization: -74.20656273321634\n" ] } ], @@ -129,10 +129,10 @@ "execution_count": 3, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:43.193108Z", - "iopub.status.busy": "2024-04-24T07:11:43.192920Z", - "iopub.status.idle": "2024-04-24T07:11:50.993594Z", - "shell.execute_reply": "2024-04-24T07:11:50.992969Z" + "iopub.execute_input": "2024-04-24T07:19:25.137571Z", + "iopub.status.busy": "2024-04-24T07:19:25.137178Z", + "iopub.status.idle": "2024-04-24T07:19:33.047771Z", + "shell.execute_reply": "2024-04-24T07:19:33.047223Z" } }, "outputs": [ @@ -144,10 +144,10 @@ " message: STOP: TOTAL NO. of f AND g EVALUATIONS EXCEEDS LIMIT\n", " success: False\n", " status: 1\n", - " fun: -75.68085147140957\n", + " fun: -75.68085339233603\n", " x: [ 2.996e+00 -7.549e-01 ... 2.650e+00 8.012e-01]\n", " nit: 6\n", - " jac: [ 1.764e-03 9.121e-03 ... -1.192e-02 9.308e-04]\n", + " jac: [ 1.762e-03 9.119e-03 ... -1.192e-02 9.791e-04]\n", " nfev: 112\n", " njev: 7\n", " hess_inv: <15x15 LbfgsInvHessProduct with dtype=float64>\n" diff --git a/.doctrees/nbsphinx/how-to-guides/fermion-operator.ipynb b/.doctrees/nbsphinx/how-to-guides/fermion-operator.ipynb index 046b3e7c4..050554851 100644 --- a/.doctrees/nbsphinx/how-to-guides/fermion-operator.ipynb +++ b/.doctrees/nbsphinx/how-to-guides/fermion-operator.ipynb @@ -29,10 +29,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:52.462303Z", - "iopub.status.busy": "2024-04-24T07:11:52.462109Z", - "iopub.status.idle": "2024-04-24T07:11:53.107495Z", - "shell.execute_reply": "2024-04-24T07:11:53.106886Z" + "iopub.execute_input": "2024-04-24T07:19:34.624953Z", + "iopub.status.busy": "2024-04-24T07:19:34.624498Z", + "iopub.status.idle": "2024-04-24T07:19:35.267114Z", + "shell.execute_reply": "2024-04-24T07:19:35.266482Z" } }, "outputs": [ @@ -76,10 +76,10 @@ "execution_count": 2, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.110465Z", - "iopub.status.busy": "2024-04-24T07:11:53.109821Z", - "iopub.status.idle": "2024-04-24T07:11:53.114213Z", - "shell.execute_reply": "2024-04-24T07:11:53.113652Z" + "iopub.execute_input": "2024-04-24T07:19:35.269733Z", + "iopub.status.busy": "2024-04-24T07:19:35.269294Z", + "iopub.status.idle": "2024-04-24T07:19:35.273559Z", + "shell.execute_reply": "2024-04-24T07:19:35.272948Z" } }, "outputs": [ @@ -110,10 +110,10 @@ "execution_count": 3, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.116351Z", - "iopub.status.busy": "2024-04-24T07:11:53.116141Z", - "iopub.status.idle": "2024-04-24T07:11:53.120393Z", - "shell.execute_reply": "2024-04-24T07:11:53.119833Z" + "iopub.execute_input": "2024-04-24T07:19:35.275931Z", + "iopub.status.busy": "2024-04-24T07:19:35.275453Z", + "iopub.status.idle": "2024-04-24T07:19:35.280028Z", + "shell.execute_reply": "2024-04-24T07:19:35.279438Z" } }, "outputs": [ @@ -121,17 +121,17 @@ "data": { "text/plain": [ "FermionOperator({\n", - " (cre_a(0), des_a(3), des_a(3), des_b(3)): -0.125,\n", - " (cre_b(1), des_b(5), cre_a(4)): 2+2j,\n", - " (cre_b(1), des_b(5), cre_a(4), cre_b(2)): -1+1j,\n", - " (cre_a(3), des_a(0), des_a(3), des_b(3)): 0.0625,\n", + " (cre_b(2)): 0-0.25j,\n", " (cre_b(1), des_b(5), cre_a(4), des_a(3), des_b(3)): -0.25-0.25j,\n", - " (cre_a(3), des_a(0), cre_b(2)): 0-0.25j,\n", + " (des_a(3), des_b(3)): 0.0625,\n", + " (cre_a(3), des_a(0)): -0.5,\n", + " (cre_a(0), des_a(3), des_a(3), des_b(3)): -0.125,\n", " (cre_a(0), des_a(3), cre_b(2)): 0+0.5j,\n", + " (cre_a(3), des_a(0), cre_b(2)): 0-0.25j,\n", " (cre_a(0), des_a(3)): 1,\n", - " (cre_a(3), des_a(0)): -0.5,\n", - " (cre_b(2)): 0-0.25j,\n", - " (des_a(3), des_b(3)): 0.0625\n", + " (cre_a(3), des_a(0), des_a(3), des_b(3)): 0.0625,\n", + " (cre_b(1), des_b(5), cre_a(4), cre_b(2)): -1+1j,\n", + " (cre_b(1), des_b(5), cre_a(4)): 2+2j\n", "})" ] }, @@ -170,10 +170,10 @@ "execution_count": 4, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.122675Z", - "iopub.status.busy": "2024-04-24T07:11:53.122330Z", - "iopub.status.idle": "2024-04-24T07:11:53.126381Z", - "shell.execute_reply": "2024-04-24T07:11:53.125823Z" + "iopub.execute_input": "2024-04-24T07:19:35.282555Z", + "iopub.status.busy": "2024-04-24T07:19:35.281968Z", + "iopub.status.idle": "2024-04-24T07:19:35.286295Z", + "shell.execute_reply": "2024-04-24T07:19:35.285714Z" } }, "outputs": [ @@ -181,17 +181,17 @@ "data": { "text/plain": [ "FermionOperator({\n", - " (cre_a(0), des_a(3), des_a(3), des_b(3)): 0+0.5j,\n", - " (cre_b(1), des_b(5), cre_a(4)): 12-12j,\n", - " (cre_b(1), des_b(5), cre_a(4), cre_b(2)): 4+4j,\n", - " (cre_a(3), des_a(0), des_a(3), des_b(3)): 0-0.25j,\n", + " (cre_b(2)): -5,\n", " (cre_b(1), des_b(5), cre_a(4), des_a(3), des_b(3)): -1+1j,\n", - " (cre_a(3), des_a(0), cre_b(2)): -1,\n", + " (des_a(3), des_b(3)): 0-1.25j,\n", + " (cre_a(3), des_a(0)): 0+3j,\n", + " (cre_a(0), des_a(3), des_a(3), des_b(3)): 0+0.5j,\n", " (cre_a(0), des_a(3), cre_b(2)): 2,\n", + " (cre_a(3), des_a(0), cre_b(2)): -1,\n", " (cre_a(0), des_a(3)): 0-6j,\n", - " (cre_a(3), des_a(0)): 0+3j,\n", - " (cre_b(2)): -5,\n", - " (des_a(3), des_b(3)): 0-1.25j\n", + " (cre_a(3), des_a(0), des_a(3), des_b(3)): 0-0.25j,\n", + " (cre_b(1), des_b(5), cre_a(4), cre_b(2)): 4+4j,\n", + " (cre_b(1), des_b(5), cre_a(4)): 12-12j\n", "})" ] }, @@ -220,10 +220,10 @@ "execution_count": 5, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.128817Z", - "iopub.status.busy": "2024-04-24T07:11:53.128324Z", - "iopub.status.idle": "2024-04-24T07:11:53.132378Z", - "shell.execute_reply": "2024-04-24T07:11:53.131722Z" + "iopub.execute_input": "2024-04-24T07:19:35.288624Z", + "iopub.status.busy": "2024-04-24T07:19:35.288294Z", + "iopub.status.idle": "2024-04-24T07:19:35.292068Z", + "shell.execute_reply": "2024-04-24T07:19:35.291587Z" } }, "outputs": [ @@ -231,16 +231,16 @@ "data": { "text/plain": [ "FermionOperator({\n", - " (cre_a(3), des_a(0)): 0+3j,\n", - " (cre_b(2), cre_b(1), cre_a(4), des_b(5)): 4+4j,\n", - " (des_b(3), des_a(3)): 0+1.25j,\n", - " (cre_a(3), des_b(3), des_a(3), des_a(0)): 0+0.25j,\n", - " (cre_b(1), cre_a(4), des_b(5), des_b(3), des_a(3)): -1+1j,\n", - " (cre_b(2), cre_a(0), des_a(3)): 2,\n", + " (cre_b(2)): -5,\n", " (cre_a(0), des_a(3)): 0-6j,\n", + " (cre_b(1), cre_a(4), des_b(5), des_b(3), des_a(3)): -1+1j,\n", " (cre_b(2), cre_a(3), des_a(0)): -1,\n", - " (cre_b(2)): -5,\n", - " (cre_b(1), cre_a(4), des_b(5)): -12+12j\n", + " (cre_b(2), cre_a(0), des_a(3)): 2,\n", + " (des_b(3), des_a(3)): 0+1.25j,\n", + " (cre_a(3), des_b(3), des_a(3), des_a(0)): 0+0.25j,\n", + " (cre_b(1), cre_a(4), des_b(5)): -12+12j,\n", + " (cre_a(3), des_a(0)): 0+3j,\n", + " (cre_b(2), cre_b(1), cre_a(4), des_b(5)): 4+4j\n", "})" ] }, @@ -265,10 +265,10 @@ "execution_count": 6, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.134591Z", - "iopub.status.busy": "2024-04-24T07:11:53.134272Z", - "iopub.status.idle": "2024-04-24T07:11:53.137692Z", - "shell.execute_reply": "2024-04-24T07:11:53.137091Z" + "iopub.execute_input": "2024-04-24T07:19:35.294389Z", + "iopub.status.busy": "2024-04-24T07:19:35.294025Z", + "iopub.status.idle": "2024-04-24T07:19:35.297485Z", + "shell.execute_reply": "2024-04-24T07:19:35.296989Z" } }, "outputs": [ @@ -298,10 +298,10 @@ "execution_count": 7, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.139879Z", - "iopub.status.busy": "2024-04-24T07:11:53.139547Z", - "iopub.status.idle": "2024-04-24T07:11:53.143896Z", - "shell.execute_reply": "2024-04-24T07:11:53.143313Z" + "iopub.execute_input": "2024-04-24T07:19:35.299708Z", + "iopub.status.busy": "2024-04-24T07:19:35.299365Z", + "iopub.status.idle": "2024-04-24T07:19:35.303767Z", + "shell.execute_reply": "2024-04-24T07:19:35.303260Z" } }, "outputs": [ @@ -341,21 +341,21 @@ "execution_count": 8, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.146242Z", - "iopub.status.busy": "2024-04-24T07:11:53.145858Z", - "iopub.status.idle": "2024-04-24T07:11:53.151856Z", - "shell.execute_reply": "2024-04-24T07:11:53.151265Z" + "iopub.execute_input": "2024-04-24T07:19:35.306255Z", + "iopub.status.busy": "2024-04-24T07:19:35.305757Z", + "iopub.status.idle": "2024-04-24T07:19:35.312476Z", + "shell.execute_reply": "2024-04-24T07:19:35.311953Z" } }, "outputs": [ { "data": { "text/plain": [ - "array([ 0. +0.j , 0. +0.j ,\n", - " 0. +0.j , 0. +0.j ,\n", - " -0.13117779+0.11588432j, 0. +0.j ,\n", - " 0. +0.j , 0. +0.j ,\n", - " 0. +0.j ])" + "array([0. +0.j , 0. +0.j ,\n", + " 0. +0.j , 0. +0.j ,\n", + " 0.07453016+0.10200987j, 0. +0.j ,\n", + " 0. +0.j , 0. +0.j ,\n", + " 0. +0.j ])" ] }, "execution_count": 8, @@ -380,10 +380,10 @@ "execution_count": 9, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:53.154037Z", - "iopub.status.busy": "2024-04-24T07:11:53.153715Z", - "iopub.status.idle": "2024-04-24T07:11:53.165587Z", - "shell.execute_reply": "2024-04-24T07:11:53.165124Z" + "iopub.execute_input": "2024-04-24T07:19:35.314794Z", + "iopub.status.busy": "2024-04-24T07:19:35.314421Z", + "iopub.status.idle": "2024-04-24T07:19:35.325670Z", + "shell.execute_reply": "2024-04-24T07:19:35.325173Z" } }, "outputs": [ diff --git a/.doctrees/nbsphinx/how-to-guides/lucj.ipynb b/.doctrees/nbsphinx/how-to-guides/lucj.ipynb index 77358271d..b1242aa0e 100644 --- a/.doctrees/nbsphinx/how-to-guides/lucj.ipynb +++ b/.doctrees/nbsphinx/how-to-guides/lucj.ipynb @@ -14,10 +14,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:55.206629Z", - "iopub.status.busy": "2024-04-24T07:11:55.206433Z", - "iopub.status.idle": "2024-04-24T07:11:56.144871Z", - "shell.execute_reply": "2024-04-24T07:11:56.144248Z" + "iopub.execute_input": "2024-04-24T07:19:37.407068Z", + "iopub.status.busy": "2024-04-24T07:19:37.406580Z", + "iopub.status.idle": "2024-04-24T07:19:38.359240Z", + "shell.execute_reply": "2024-04-24T07:19:38.358613Z" } }, "outputs": [ @@ -25,14 +25,14 @@ "name": "stdout", "output_type": "stream", "text": [ - "converged SCF energy = -77.4456267643962\n" + "converged SCF energy = -77.4456267643963\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "CASCI E = -77.6290254326717 E(CI) = -3.57322412553863 S^2 = 0.0000000\n" + "CASCI E = -77.6290254326717 E(CI) = -3.57322412553862 S^2 = 0.0000000\n" ] } ], @@ -107,10 +107,10 @@ "execution_count": 2, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:56.148524Z", - "iopub.status.busy": "2024-04-24T07:11:56.147997Z", - "iopub.status.idle": "2024-04-24T07:11:56.349816Z", - "shell.execute_reply": "2024-04-24T07:11:56.349224Z" + "iopub.execute_input": "2024-04-24T07:19:38.363086Z", + "iopub.status.busy": "2024-04-24T07:19:38.362432Z", + "iopub.status.idle": "2024-04-24T07:19:38.591672Z", + "shell.execute_reply": "2024-04-24T07:19:38.590981Z" } }, "outputs": [ @@ -118,14 +118,14 @@ "name": "stdout", "output_type": "stream", "text": [ - "E(CCSD) = -77.49387212754468 E_corr = -0.04824536314851544\n" + "E(CCSD) = -77.49387212754476 E_corr = -0.04824536314851349\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "Energy at initialization: -77.46975600021707\n" + "Energy at initialization: -77.46975600021699\n" ] } ], @@ -170,10 +170,10 @@ "execution_count": 3, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:11:56.353739Z", - "iopub.status.busy": "2024-04-24T07:11:56.352760Z", - "iopub.status.idle": "2024-04-24T07:12:43.754257Z", - "shell.execute_reply": "2024-04-24T07:12:43.753336Z" + "iopub.execute_input": "2024-04-24T07:19:38.594738Z", + "iopub.status.busy": "2024-04-24T07:19:38.594450Z", + "iopub.status.idle": "2024-04-24T07:20:25.051764Z", + "shell.execute_reply": "2024-04-24T07:20:25.051122Z" } }, "outputs": [ @@ -185,10 +185,10 @@ " message: STOP: TOTAL NO. of ITERATIONS REACHED LIMIT\n", " success: False\n", " status: 1\n", - " fun: -77.50964180496058\n", - " x: [ 1.262e+00 4.694e-01 ... 8.691e-02 1.366e-01]\n", + " fun: -77.50963982505083\n", + " x: [ 1.377e+00 -5.945e-01 ... 8.766e-02 1.397e-01]\n", " nit: 5\n", - " jac: [-7.816e-05 -6.196e-04 ... -3.617e-03 -4.488e-03]\n", + " jac: [-6.963e-05 8.299e-04 ... -4.161e-03 -3.079e-03]\n", " nfev: 584\n", " njev: 8\n", " hess_inv: <72x72 LbfgsInvHessProduct with dtype=float64>\n" @@ -243,10 +243,10 @@ "execution_count": 4, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:12:43.757348Z", - "iopub.status.busy": "2024-04-24T07:12:43.757076Z", - "iopub.status.idle": "2024-04-24T07:13:16.006596Z", - "shell.execute_reply": "2024-04-24T07:13:16.005572Z" + "iopub.execute_input": "2024-04-24T07:20:25.055163Z", + "iopub.status.busy": "2024-04-24T07:20:25.054785Z", + "iopub.status.idle": "2024-04-24T07:20:56.331232Z", + "shell.execute_reply": "2024-04-24T07:20:56.330632Z" } }, "outputs": [ @@ -258,10 +258,10 @@ " message: STOP: TOTAL NO. of ITERATIONS REACHED LIMIT\n", " success: False\n", " status: 1\n", - " fun: -77.45741509166481\n", - " x: [ 1.261e+00 4.805e-01 ... 8.055e-03 8.157e-03]\n", + " fun: -77.4573876180965\n", + " x: [ 1.379e+00 -5.841e-01 ... 1.335e-03 1.164e-02]\n", " nit: 5\n", - " jac: [ 1.876e-04 6.963e-05 ... -1.320e-03 -3.342e-03]\n", + " jac: [-2.785e-04 1.043e-03 ... -1.458e-03 -3.206e-03]\n", " nfev: 423\n", " njev: 9\n", " hess_inv: <46x46 LbfgsInvHessProduct with dtype=float64>\n" @@ -311,10 +311,10 @@ "execution_count": 5, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:16.009766Z", - "iopub.status.busy": "2024-04-24T07:13:16.009475Z", - "iopub.status.idle": "2024-04-24T07:13:31.585400Z", - "shell.execute_reply": "2024-04-24T07:13:31.584778Z" + "iopub.execute_input": "2024-04-24T07:20:56.335386Z", + "iopub.status.busy": "2024-04-24T07:20:56.334139Z", + "iopub.status.idle": "2024-04-24T07:21:26.130216Z", + "shell.execute_reply": "2024-04-24T07:21:26.129603Z" } }, "outputs": [ @@ -325,34 +325,34 @@ "Number of parameters: 46\n", " message: Stop: Total number of iterations reached limit.\n", " success: False\n", - " fun: -77.45818447456564\n", - " x: [ 1.287e+00 4.532e-01 ... 3.552e-02 -8.566e-03]\n", + " fun: -77.47175561491798\n", + " x: [ 1.257e+00 -6.227e-01 ... 1.571e-01 -4.884e-01]\n", " nit: 5\n", - " jac: [-5.629e-04 3.020e-04 ... 7.026e-04 -1.219e-03]\n", - " nfev: 634\n", + " jac: [ 1.432e-03 3.994e-03 ... -1.628e-03 3.073e-03]\n", + " nfev: 811\n", " njev: 5\n", - " nlinop: 404\n", + " nlinop: 581\n", "\n", "Iteration 1\n", - " Energy: -77.45029302626645\n", - " Norm of gradient: 0.02020004370995382\n", - " Regularization hyperparameter: 0.8826379901342593\n", - " Variation hyperparameter: 0.6648183897123532\n", + " Energy: -77.45722852885665\n", + " Norm of gradient: 0.010438531340874496\n", + " Regularization hyperparameter: 0.026774080397317174\n", + " Variation hyperparameter: 0.9756423838465609\n", "Iteration 2\n", - " Energy: -77.45045534010309\n", - " Norm of gradient: 0.018881646064850023\n", - " Regularization hyperparameter: 0.8823610881773326\n", - " Variation hyperparameter: 0.6648238632610717\n", + " Energy: -77.45809401560325\n", + " Norm of gradient: 0.007688124706737847\n", + " Regularization hyperparameter: 0.0006148678602191823\n", + " Variation hyperparameter: 0.9755488167407622\n", "Iteration 3\n", - " Energy: -77.45711181898201\n", - " Norm of gradient: 0.01200729687112761\n", - " Regularization hyperparameter: 0.025598521789727345\n", - " Variation hyperparameter: 0.6940657521578105\n", + " Energy: -77.45812036241128\n", + " Norm of gradient: 0.007483502338004985\n", + " Regularization hyperparameter: 1.0501985117388104\n", + " Variation hyperparameter: 0.975492191556643\n", "Iteration 4\n", - " Energy: -77.45816307257847\n", - " Norm of gradient: 0.007591266502855039\n", - " Regularization hyperparameter: 0.00041396927536031585\n", - " Variation hyperparameter: 0.6982897824464199\n" + " Energy: -77.46252943879958\n", + " Norm of gradient: 0.02612332292389617\n", + " Regularization hyperparameter: 0.0033002348706717304\n", + " Variation hyperparameter: 0.9857004057142639\n" ] } ], diff --git a/.doctrees/nbsphinx/tutorials/double-factorized.ipynb b/.doctrees/nbsphinx/tutorials/double-factorized.ipynb index 468fa1869..dfa767fe3 100644 --- a/.doctrees/nbsphinx/tutorials/double-factorized.ipynb +++ b/.doctrees/nbsphinx/tutorials/double-factorized.ipynb @@ -43,10 +43,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:33.304169Z", - "iopub.status.busy": "2024-04-24T07:13:33.303980Z", - "iopub.status.idle": "2024-04-24T07:13:34.095562Z", - "shell.execute_reply": "2024-04-24T07:13:34.094949Z" + "iopub.execute_input": "2024-04-24T07:21:27.796281Z", + "iopub.status.busy": "2024-04-24T07:21:27.796047Z", + "iopub.status.idle": "2024-04-24T07:21:28.617051Z", + "shell.execute_reply": "2024-04-24T07:21:28.616405Z" } }, "outputs": [ @@ -54,7 +54,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "converged SCF energy = -77.4456267643962\n" + "converged SCF energy = -77.4456267643963\n" ] } ], @@ -109,10 +109,10 @@ "execution_count": 2, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:34.099267Z", - "iopub.status.busy": "2024-04-24T07:13:34.098155Z", - "iopub.status.idle": "2024-04-24T07:13:34.104600Z", - "shell.execute_reply": "2024-04-24T07:13:34.103979Z" + "iopub.execute_input": "2024-04-24T07:21:28.620369Z", + "iopub.status.busy": "2024-04-24T07:21:28.619750Z", + "iopub.status.idle": "2024-04-24T07:21:28.625335Z", + "shell.execute_reply": "2024-04-24T07:21:28.624771Z" } }, "outputs": [ @@ -215,10 +215,10 @@ "execution_count": 3, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:34.106916Z", - "iopub.status.busy": "2024-04-24T07:13:34.106566Z", - "iopub.status.idle": "2024-04-24T07:13:34.110796Z", - "shell.execute_reply": "2024-04-24T07:13:34.110309Z" + "iopub.execute_input": "2024-04-24T07:21:28.627651Z", + "iopub.status.busy": "2024-04-24T07:21:28.627454Z", + "iopub.status.idle": "2024-04-24T07:21:28.631911Z", + "shell.execute_reply": "2024-04-24T07:21:28.631428Z" } }, "outputs": [], @@ -273,10 +273,10 @@ "execution_count": 4, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:34.113143Z", - "iopub.status.busy": "2024-04-24T07:13:34.112766Z", - "iopub.status.idle": "2024-04-24T07:13:34.116180Z", - "shell.execute_reply": "2024-04-24T07:13:34.115721Z" + "iopub.execute_input": "2024-04-24T07:21:28.634435Z", + "iopub.status.busy": "2024-04-24T07:21:28.634013Z", + "iopub.status.idle": "2024-04-24T07:21:28.637725Z", + "shell.execute_reply": "2024-04-24T07:21:28.637121Z" } }, "outputs": [], @@ -313,10 +313,10 @@ "execution_count": 5, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:34.118250Z", - "iopub.status.busy": "2024-04-24T07:13:34.118060Z", - "iopub.status.idle": "2024-04-24T07:13:34.124011Z", - "shell.execute_reply": "2024-04-24T07:13:34.123434Z" + "iopub.execute_input": "2024-04-24T07:21:28.640267Z", + "iopub.status.busy": "2024-04-24T07:21:28.639744Z", + "iopub.status.idle": "2024-04-24T07:21:28.646424Z", + "shell.execute_reply": "2024-04-24T07:21:28.645880Z" } }, "outputs": [ @@ -352,10 +352,10 @@ "execution_count": 6, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:34.127621Z", - "iopub.status.busy": "2024-04-24T07:13:34.126498Z", - "iopub.status.idle": "2024-04-24T07:13:34.959622Z", - "shell.execute_reply": "2024-04-24T07:13:34.959044Z" + "iopub.execute_input": "2024-04-24T07:21:28.650210Z", + "iopub.status.busy": "2024-04-24T07:21:28.649034Z", + "iopub.status.idle": "2024-04-24T07:21:29.494030Z", + "shell.execute_reply": "2024-04-24T07:21:29.493456Z" } }, "outputs": [ @@ -363,7 +363,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Fidelity of evolved state w.r.t. initial state: 0.931506230139706\n" + "Fidelity of evolved state w.r.t. initial state: 0.93150623014006\n" ] } ], @@ -394,10 +394,10 @@ "execution_count": 7, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:34.963777Z", - "iopub.status.busy": "2024-04-24T07:13:34.962800Z", - "iopub.status.idle": "2024-04-24T07:13:34.994265Z", - "shell.execute_reply": "2024-04-24T07:13:34.993645Z" + "iopub.execute_input": "2024-04-24T07:21:29.497039Z", + "iopub.status.busy": "2024-04-24T07:21:29.496586Z", + "iopub.status.idle": "2024-04-24T07:21:29.536866Z", + "shell.execute_reply": "2024-04-24T07:21:29.536255Z" } }, "outputs": [ @@ -405,7 +405,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Fidelity of Trotter-evolved state with exact state: 0.9928527668210921\n" + "Fidelity of Trotter-evolved state with exact state: 0.9928527668214251\n" ] } ], @@ -435,10 +435,10 @@ "execution_count": 8, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:34.997907Z", - "iopub.status.busy": "2024-04-24T07:13:34.996932Z", - "iopub.status.idle": "2024-04-24T07:13:35.144603Z", - "shell.execute_reply": "2024-04-24T07:13:35.144044Z" + "iopub.execute_input": "2024-04-24T07:21:29.541716Z", + "iopub.status.busy": "2024-04-24T07:21:29.540733Z", + "iopub.status.idle": "2024-04-24T07:21:29.689942Z", + "shell.execute_reply": "2024-04-24T07:21:29.689349Z" } }, "outputs": [ @@ -446,7 +446,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Fidelity of Trotter-evolved state with exact state: 0.999932085128466\n" + "Fidelity of Trotter-evolved state with exact state: 0.9999320851287457\n" ] } ], @@ -478,10 +478,10 @@ "execution_count": 9, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:35.148420Z", - "iopub.status.busy": "2024-04-24T07:13:35.147427Z", - "iopub.status.idle": "2024-04-24T07:13:35.294623Z", - "shell.execute_reply": "2024-04-24T07:13:35.294088Z" + "iopub.execute_input": "2024-04-24T07:21:29.694153Z", + "iopub.status.busy": "2024-04-24T07:21:29.693184Z", + "iopub.status.idle": "2024-04-24T07:21:29.831768Z", + "shell.execute_reply": "2024-04-24T07:21:29.831129Z" } }, "outputs": [ @@ -489,7 +489,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Fidelity of Trotter-evolved state with exact state: 0.999932085128466\n" + "Fidelity of Trotter-evolved state with exact state: 0.9999320851287457\n" ] } ], @@ -520,10 +520,10 @@ "execution_count": 10, "metadata": { "execution": { - "iopub.execute_input": "2024-04-24T07:13:35.298402Z", - "iopub.status.busy": "2024-04-24T07:13:35.297445Z", - "iopub.status.idle": "2024-04-24T07:13:35.384316Z", - "shell.execute_reply": "2024-04-24T07:13:35.383754Z" + "iopub.execute_input": "2024-04-24T07:21:29.835304Z", + "iopub.status.busy": "2024-04-24T07:21:29.835066Z", + "iopub.status.idle": "2024-04-24T07:21:29.883385Z", + "shell.execute_reply": "2024-04-24T07:21:29.882741Z" } }, "outputs": [ @@ -531,7 +531,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Fidelity of Trotter-evolved state with exact state: 0.9999913261305375\n" + "Fidelity of Trotter-evolved state with exact state: 0.999991326130849\n" ] } ], diff --git a/.doctrees/tutorials/double-factorized.doctree b/.doctrees/tutorials/double-factorized.doctree index e2aaab779..b6cbcc048 100644 Binary files a/.doctrees/tutorials/double-factorized.doctree and b/.doctrees/tutorials/double-factorized.doctree differ diff --git a/_modules/ffsim/cistring.html b/_modules/ffsim/cistring.html index da65202a5..7b993d386 100644 --- a/_modules/ffsim/cistring.html +++ b/_modules/ffsim/cistring.html @@ -159,18 +159,18 @@
  • Diagonal Coulomb operators and double-factorized Trotter simulation
  • -
  • How-to guides -
  • -
  • Explanations