Skip to content

Commit b6cc062

Browse files
fdmalonempharrigan
andauthored
Be a bit careful about complexity of the sparse Hamiltonian (#1512)
Be a bit careful about complexity Co-authored-by: Matthew Harrigan <mpharrigan@google.com>
1 parent a0d4d6b commit b6cc062

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qualtran/bloqs/chemistry/resource_estimation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@
6464
"\n",
6565
"| Name | $$V_{pqrs} $$ | Space complexity |\n",
6666
"| :---- | :---- | :---- | \n",
67-
"| [Sparse](sparse/sparse.ipynb) | $$\\tilde{V}_{pqrs}$$ | $$O(N^3)$$ |\n",
67+
"| [Sparse](sparse/sparse.ipynb) | $$\\tilde{V}_{pqrs}$$ | $$O(N^4)$$ |\n",
6868
"| [Single Factorization](sf/single_factorization.ipynb) | $$\\sum_X^{L} L_{pq}^X L_{rs}^X $$ | $$O(N^3)$$ |\n",
6969
"| [Double Factorization](df/double_factorization.ipynb) | $$\\sum_X^{} \\left(\\sum_k^{\\Xi} U^{X}_{pk}f_k^X U_{qk}^{X*}\\right)^2$$ | $$O(N^2\\Xi)$$ |\n",
7070
"| [Tensor Hypercontraction](thc/thc.ipynb) | $$\\sum_{\\mu\\nu}^{M} \\chi_p^{\\mu}\\chi_q^{\\mu}\\zeta_{\\mu\\nu}\\chi_r^\\nu\\chi_s^\\nu$$ | $$O(N^2)$$ |\n",
7171
"\n",
72-
"where the space complexity column represents the amount of classical data ($\\Gamma$, say) required to specify the Hamiltonian. The Toffoli complexity for state preparation for all of these approaches goes roughly like $\\sqrt{\\Gamma}$. "
72+
"the space complexity column represents the amount of classical data ($\\Gamma$, say) required to specify the Hamiltonian. The Toffoli complexity for state preparation for all of these approaches goes roughly like $\\sqrt{\\Gamma}$. Note under certain conditions sparsity may lead to $O(N^3)$ non-zero elements. "
7373
]
7474
},
7575
{

0 commit comments

Comments
 (0)