Timeout error with quantum resource estimator for circuit with 73 qubits

Anneriet Krol 0 Reputation points
2023-05-25T14:08:19.5933333+00:00

I have some issue with the Azure quantum resource estimator. I am trying to get an estimate for a circuit with 73 (logical) qubits, but I get an "TimeoutError: Timeout waiting for output" after (exactly) 2 minutes have passed.. This is a parameterized circuit, that works when it has 25, 39, 50 and 62 qubits, but increasing it to 73 qubits consistently gives this error.

The circuit is implemented in an Azure Workspace. In a Jupyter notebook in Q#, with setting up and simulation done through Python as in this documentation page: https://learn.microsoft.com/en-us/azure/quantum/how-to-submit-jobs?pivots=ide-python

I have also implemented the same circuit in Qiskit, and that also gives me timeout errors for trying to run an estimate for 73 qubits. (Although a different one, that a component takes more than 10 minutes). Using manual caching (With BeginEstimateCaching) does not fix the issue.

Does anyone know why I am getting these timeout errors and if there's some way to avoid them?

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

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,527 Reputation points Microsoft Employee
    2023-06-01T01:00:04.2666667+00:00

    @Anneriet Krol
    We've been able to reproduce this issue and I'll summarize the findings from the Azure Quantum Product team here:

    In the Job Management pane, you can see that this job succeeds even though the client returns a timeout error at the 2-minute mark. This appears to be due to the Q# code where a user timeout exceeding 2 minutes (polling waiting time) is provided, however this is not respected.

    To unblock yourself, please try the following steps:

    1. Use the azure_quantum RE client API, which will support Q# submission with the next QDK release. This has been checked and does not produce the timeout error. You can pre-install the next release now.
    2. Use the azure.quantum.submit to submit a job (https://learn.microsoft.com/en-us/qsharp/api/iqsharp-magic/azure.submit), then wait for the result to be completed with azure.quantum.status (https://learn.microsoft.com/en-us/qsharp/api/iqsharp-magic/azure.status) and finally retrieve the results with azure.quantum.output (https://learn.microsoft.com/en-us/qsharp/api/iqsharp-magic/azure.output)

    I hope this helps. If you have any questions at all, please let me know in the "comments" and I would be happy to help you. Comment is the fastest way of notifying the experts.

    Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you. This can be beneficial to other community members for remediation for similar issues.

    User's image

    0 comments No comments