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

State-Averaged Orbital Optimized VQE solver #148

Merged
merged 8 commits into from
May 6, 2022
Merged

Conversation

JamesB-1qbit
Copy link
Contributor

The state-averaged VQE solver.

This is essentially VQESolver with a different init build simulate and energy estimation.

It is an average of different ref_states but the ansatz circuit is the same for both.

Copy link
Contributor

@ValentinS4t1qbit ValentinS4t1qbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few changes and comments

tangelo/algorithms/variational/sa_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/tests/test_sa_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/vqe_solver.py Outdated Show resolved Hide resolved
Copy link
Contributor

@alexfleury-sb alexfleury-sb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@JamesB-1qbit JamesB-1qbit changed the title State-Averaged VQE solver State-Averaged Orbital Optimized VQE solver May 2, 2022
Copy link
Contributor

@ValentinS4t1qbit ValentinS4t1qbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor things. Very good job with numpy and einsum !

tangelo/algorithms/variational/sa_oo_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_oo_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_oo_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_oo_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_oo_vqe_solver.py Outdated Show resolved Hide resolved
tangelo/algorithms/variational/sa_oo_vqe_solver.py Outdated Show resolved Hide resolved
Copy link
Contributor

@alexfleury-sb alexfleury-sb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good too with the new files.

@JamesB-1qbit JamesB-1qbit merged commit 7c7be61 into develop May 6, 2022
@ValentinS4t1qbit ValentinS4t1qbit deleted the sa_vqe_solver branch June 10, 2022 18:44
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.

None yet

3 participants