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

add SHVQE script #191

Merged
merged 2 commits into from
Nov 3, 2023
Merged

add SHVQE script #191

merged 2 commits into from
Nov 3, 2023

Conversation

royess
Copy link
Contributor

@royess royess commented Nov 2, 2023

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

@refraction-ray
Copy link
Contributor

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

@refraction-ray
Copy link
Contributor

please use black to format the code

@royess
Copy link
Contributor Author

royess commented Nov 2, 2023

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
Copy link
Contributor

LGTM

@refraction-ray refraction-ray merged commit 84c3f54 into tencent-quantum-lab:master Nov 3, 2023
@refraction-ray
Copy link
Contributor

@all-contributors please add @royess for example

Copy link
Contributor

@refraction-ray

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants