tencent-quantum-lab / tensorcircuit

Tensor network based quantum software framework for the NISQ era
https://tensorcircuit.readthedocs.io
Apache License 2.0
252 stars 75 forks source link

add SHVQE script #191

Closed royess closed 8 months ago

royess commented 8 months ago

As mentioned in Issue #190, I want to contribute a script of Schrodinger-Heisenberg quantum variational eigensolver (SHVQE) with quantum architecture search.

refraction-ray commented 8 months ago

Thanks for the contribution. If applicable, do you have some remarks on the accuracy performance?

refraction-ray commented 8 months ago

please use black to format the code

royess commented 8 months ago

please use black to format the code

It is solved in the new commit.

Thanks for the contribution. If applicable, do you have some remarks on the accuracy performance?

I haven't done a performance benchmark on H6 Hamiltonian, provided in the examples directory.

Based on my previous experiments on OH Hamiltonian and also the data in the original paper, SHVQE features provide higher accuracy when circuit depth is limited. The accuracy grows when (Schrodinger) circuit depth increases.

refraction-ray commented 8 months ago

LGTM

refraction-ray commented 8 months ago

@all-contributors please add @royess for example

allcontributors[bot] commented 8 months ago

@refraction-ray

I've put up a pull request to add @royess! :tada: