Add Hamiltonian-energy VQE example with SPSA optimization#70
Conversation
# Conflicts: # ionq_core/models/cost_model.py
2QGE_operations cost model|
Maintainer edit: merged |
…, single output channel, ansatz typo
|
Maintainer polish per code review: |
Summary
Adds a runnable H2 VQE example under examples/ that uses typed
ionq_core.models,create_job, andwait_for_jobwith a dependency-free SPSA loop on the free simulator. Also extends the CostModel overlay with 2QGE_operations soget_jobcan parse completed quantum-function jobs without raising on the live API response.Closes: #58
Test plan
Click to expand logs
Important
Most code in
ionq_core/is auto-generated and overwritten on regeneration.See CONTRIBUTING.md for which files are safe to edit.