Skip to content

Commit

Permalink
Be a bit careful about complexity of the sparse Hamiltonian (#1512)
Browse files Browse the repository at this point in the history
Be a bit careful about complexity

Co-authored-by: Matthew Harrigan <[email protected]>
  • Loading branch information
fdmalone and mpharrigan authored Dec 19, 2024
1 parent a0d4d6b commit b6cc062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qualtran/bloqs/chemistry/resource_estimation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@
"\n",
"| Name | $$V_{pqrs} $$ | Space complexity |\n",
"| :---- | :---- | :---- | \n",
"| [Sparse](sparse/sparse.ipynb) | $$\\tilde{V}_{pqrs}$$ | $$O(N^3)$$ |\n",
"| [Sparse](sparse/sparse.ipynb) | $$\\tilde{V}_{pqrs}$$ | $$O(N^4)$$ |\n",
"| [Single Factorization](sf/single_factorization.ipynb) | $$\\sum_X^{L} L_{pq}^X L_{rs}^X $$ | $$O(N^3)$$ |\n",
"| [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",
"| [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",
"\n",
"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}$. "
"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. "
]
},
{
Expand Down

0 comments on commit b6cc062

Please sign in to comment.