microsoft / qsharp

Azure Quantum Development Kit, including the Q# programming language, resource estimator, and Quantum Katas
https://microsoft.github.io/qsharp/
MIT License
367 stars 73 forks source link

Make compilerRunTimeoutMs a configurable setting (for VSCode extension) #1667

Open spencerdearman opened 3 days ago

spencerdearman commented 3 days ago

Is your feature request related to a problem? Please describe. I am trying to run a more complex quantum circuit that requires a timeout for the variable compilerRunTimeoutMs greater than 5 minutes. It would be really nice if this would be configurable such that the estimator could run longer when using the VSCode extension.

Describe the solution you'd like When running the estimator, perhaps you could pass in an optional argument for compilerRunTimeoutMs. I included a little code snippet of what this could look like:

results = qsharp.estimate( "Testing.TestToRun()", "compilerRunTimeoutMs": **input here** )

Describe alternatives you've considered I built the package from source and I edited the locations of compilerRunTimeoutMs to get the result I wanted but it is a bad solution and not as simple as it could be.