How to resolve "Value too large" error in Azure resource estimator for larger inputs?

Aylin Beheshtiroui 0 Reputation points
2025-07-02T16:12:25.6666667+00:00

I have been using the Azure resource estimator to evaluate the resource requirements for algorithms like Shor's and HHL. However, I encounter an error ("Value too large") when entering larger real-world inputs, such as increasing the bit-length for Shor or the matrix size for the HHL. Is this error indicative of limitations within the tool, or are there potential fixes? I have also attempted the implementation of Shor's algorithm from the tutorial: https://learn.microsoft.com/en-us/training/modules/estimate-resources-quantum-algorithms/5-estimate-resources-with-azure-quantum, but it fails for integer bit-lengths greater than 31.

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

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.