Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be a bit careful about complexity of the sparse Hamiltonian #1512

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading