Estimate then run a Chemistry VQE workload on Quandela Quantum Toolbox
A 8-step recipe with Quandela. We can help you get access.
Estimate then run a Chemistry VQE workload on Quandela Quantum Toolbox
Cost-gated Chemistry VQE execution on Quandela Cloud.
- Mint a short-lived Cloud Job Token for this run.
- Price the workload WITHOUT running it. Gate on nb_total_shots against the caller's shot_budget before spending anything.
- Read max_running_qt_jobs / num_running_qt_jobs. The Quantum Toolbox ceiling is enforced as 403 "Cannot have more than {MAX_QT_JOBS} running Quantum Toolbox jobs" — note it is a 403, unlike the Perceval waiting-job ceiling which is a 400.
- Submit the workload. There is no idempotency key and no process_id guard on the Toolbox surface, so persist the returned job_id immediately — there is no job list endpoint to recover it from.
- Poll with exponential backoff. VQE status responses can carry IntermediateChemistryVqeResults, so convergence is observable before the job terminates.
- Collect ChemistryVqeResults.
- Read the per-platform consumption ledger for this token — credits and free_credits are reported separately. The only way to answer "what did this run consume"; note that no price list is published, so cost in currency is not knowable.
- Revoke the run's token.
What you'll need to have ready
- account_token: Account access token from account.quandela.com (Bearer).
- token_label
- chemistry_params: ChemistryVqeParams body, including the Atom[] molecular specification. Identical body is sent to the estimator and the run.
- shot_budget: Caller's ceiling. Compare against the estimator's nb_total_shots before submitting; abort if it exceeds this.
For your developer
Arazzo workflow quandela:estimate-and-run-chemistry-vqe, 8 operations: $sourceDescriptions.apiPercevalJobTokenApi.post_api_tokens → $sourceDescriptions.quantumtoolboxApi.post_qt_chemistryvqe_estimate → $sourceDescriptions.apiPercevalJobApi.get_api_jobs_availability → $sourceDescriptions.quantumtoolboxApi.post_qt_chemistryvqe → $sourceDescriptions.quantumtoolboxApi.get_qt_chemistryvqe_by_job_id_status → $sourceDescriptions.quantumtoolboxApi.get_qt_chemistryvqe_by_job_id_results → $sourceDescriptions.apiPercevalJobTokenApi.get_api_tokens_usage_report → $sourceDescriptions.apiPercevalJobTokenApi.post_api_tokens_revoke. Specs on APIs.io.