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

Augment the Rotosolve optimizer to support Rotoselect #386

Closed
ValentinS4t1qbit opened this issue May 28, 2024 · 3 comments
Closed

Augment the Rotosolve optimizer to support Rotoselect #386

ValentinS4t1qbit opened this issue May 28, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ValentinS4t1qbit
Copy link
Collaborator

ValentinS4t1qbit commented May 28, 2024

Issue: Feature Request

The Rotosolve optimizer is a straightforward method to obtain the optimal value for a single qubit rotation in variational quantum algorithms. The current implementation in Tangelo supports its use in ongoing research involving the Qubit Coupled Cluster algorithm where typically only a single rotation axis is considered. This feature can be easily augmented to the Rotoselect optimizer, which chooses both the optimal angle and axis of single qubit rotation.

Describe the solution you'd like

The solution would include a separate solver called Rotoselect which modifies the rotation axis (RX, RY, RZ) of the gates in the variational circuit. For each rotation axis, it could call rotosolve_step to find the optimal angle.

Finish line

Testing for this feature should be analogous to the rotosolve tests. The test would require an input variational circuit, and a Hamiltonian to minimize. These should be constructed such that the output optimized circuit has a different rotation axis for at least one rotation gate.

@ValentinS4t1qbit ValentinS4t1qbit added the enhancement New feature or request label May 28, 2024
@ValentinS4t1qbit ValentinS4t1qbit self-assigned this May 28, 2024
@ValentinS4t1qbit ValentinS4t1qbit changed the title [FEATURE REQUEST] Augment the Rotosolve optimizer to support Rotoselect Augment the Rotosolve optimizer to support Rotoselect May 28, 2024
@ValentinS4t1qbit ValentinS4t1qbit added the good first issue Good for newcomers label May 28, 2024
@cburdine
Copy link
Contributor

Hi Valentin,

I'm here for UnitaryHack and thought this might be a good problem for me to tackle. Could you assign me to this issue? Thanks!

@ValentinS4t1qbit
Copy link
Collaborator Author

Game on, @cburdine ! Do your best :)

I recommend you work on something that has the desired behaviour and tries to reuse some Rotosolve code, and then ping @elloyd-1qbit and I to have a quick look at it and give you feedback. Then you should be able to have a clear checklist to take you to the finish line and earn the bounty :)

@ValentinS4t1qbit
Copy link
Collaborator Author

Solved by #392 by @cburdine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants