What are the cost of using a simulator, e.g. quantinuum.sim.h1-2sc?

Alfred Kheiltash 0 Reputation points
2023-02-10T10:18:46.64+00:00

I would like to test my code before running it on real quantum computer hardware. Can you test the code cost free on the simulators?

Azure Quantum
Azure Quantum
An Azure service that provides quantum computing and optimization solutions.
65 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,287 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 22,941 Reputation points
    2023-02-15T08:29:04.18+00:00

    Hi @Alfred Kheiltash

    Thank you for reaching out to the Stack Overflow Q&A platform. Happy to answer your question.

    There are several simulator options available for Azure Quantum users, many of which are free.

    The Azure Quantum QDK and hosted notebooks in the Azure Quantum service have a number of local simulators available. More info on these here: Quantum simulators and Q# programs - Azure Quantum | Microsoft Learn

    In addition to local simulators, our 3<sup>rd</sup> party providers all offer various simulators and emulators (which mimic the noise model of their quantum machines). Pricing for these simulators is available at: https://video2.skills-academy.com/en-us/azure/quantum/pricing. For Quantinuum in particular, simulator usage consumes eHQCs. A fixed number of eHQCs are included in a customer’s subscription depending on the type of plan they use with Quantinuum. See the pricing documentation linked above for more details.

     The subject of this thread specifically mentions the quantinuum.sim.h1-s2c target. Note that sim.h1-s2c is the Syntax Checker, not an emulator. It is meant to validate code to ensure it will be submitted to a Quantinuum target without errors, it will not simulate results itself. As noted in the Quantinuum target lists (Quantinuum provider - Azure Quantum | Microsoft Learn), usage of the Syntax Checker is free. The simulator to use for H1-2 would be quantinuum.sim.h1-2e.

    Hope this helps!

    If this response has answered your query, please 'Accept as Answer' and Upvote using "Thumbs-up" so that the relevancy of this post will improve when anyone in the community search for a similar query

    1 person found this answer helpful.
    0 comments No comments