Can't run Q# program job?

John Bruce 10 Reputation points
2024-04-19T04:00:03.03+00:00

I have been trying to run a Q# program on IonQ. When I use VS Code or the VS Code web app, I get the error Failed to submit the job to Azure. Request failed: Failed to fetch.

I tried using a notebook and the job did submit, but it fails with a timeout as you can see in the message below.

Job details Quantum Workspace Name DST002 Id [Redacted] Provider ionq Target ionq.qpu.aria-1 Cost estimate -- State Failed Execution time Submission time 4/18/2024, 6:55:12 PM Completion time Input parameters {"entryPoint":"ENTRYPOINT__main","arguments":[],"targetCapability":"BasicExecution","shots":1} Input/Output Cost Estimation Error code: ProviderTimeout Error message: There was a problem submitting the job to 'ionq'. Please check the provider's status and try submitting the job again later.

Azure Quantum
Azure Quantum
An Azure service that provides quantum computing and optimization solutions.
71 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,351 Reputation points Microsoft Employee
    2024-05-01T00:38:24.91+00:00

    Hello, @John Bruce !

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:

    Unable to run Q# program jobs when using VS Code (or the VS Code webapp).

    Error message: There was a problem submitting the job to 'ionq'. Please check the provider's status and try submitting the job again later.

    Solution (provided by John Bruce):

    Changed to Qiskit and got it working.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.