microsoft / microsoft/qdk

Make compilerRunTimeoutMs a configurable setting (for VSCode extension)

Open
#1,667 1 comment 0 reactions 1 assignee View on GitHub

@billti is already working on this.

Since Aug 15, 2024.

enhancement
Dominant language
Rust
Stars
1k
Forks
212
Avg merge
3d 8h
Merged PRs (30d)
65

Description

**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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.