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

Updated UX for VSCode QIR generation #1548

Closed swernli closed 1 month ago

swernli commented 1 month ago

This change updates the extension behavior for QIR code generation to give more granular error messages and guidance when possible. We used to always report an error with "Submitting to Azure" and recommend switching to Base profile. Now the message and guidance will differentiate between a few different scenarios:

github-actions[bot] commented 1 month ago

Benchmark for bb89a56

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 334.8±1.28µs | **328.0±4.01µs** | **-2.03%** | | Array literal evaluation | 189.4±0.56µs | **183.4±0.67µs** | **-3.17%** | | Array update evaluation | 419.2±1.74µs | **407.2±4.90µs** | **-2.86%** | | Core + Standard library compilation | **20.2±0.57ms** | 20.8±0.64ms | **+2.97%** | | Deutsch-Jozsa evaluation | 5.1±0.07ms | 5.1±0.21ms | 0.00% | | Large file parity evaluation | 34.2±0.09ms | 34.2±0.44ms | 0.00% | | Large input file compilation | 13.1±0.37ms | 13.2±0.35ms | +0.76% | | Large input file compilation (interpreter) | 49.2±1.06ms | 50.1±1.24ms | +1.83% | | Large nested iteration | 33.0±0.33ms | **32.3±0.33ms** | **-2.12%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1579.1±103.27µs | 1608.8±91.48µs | +1.88% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.9±0.08ms | 7.9±0.11ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1435.8±89.44µs | 1474.1±86.40µs | +2.67% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 27.8±0.26ms | 27.9±0.23ms | +0.36% | | Teleport evaluation | 91.6±3.81µs | 90.2±4.53µs | -1.53% |
github-actions[bot] commented 1 month ago

Benchmark for 50661e4

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 335.7±2.49µs | **332.8±2.62µs** | **-0.86%** | | Array literal evaluation | 189.7±0.87µs | **174.3±1.17µs** | **-8.12%** | | Array update evaluation | 417.5±2.52µs | **412.0±1.59µs** | **-1.32%** | | Core + Standard library compilation | 22.6±0.38ms | **21.8±1.12ms** | **-3.54%** | | Deutsch-Jozsa evaluation | 5.0±0.04ms | 5.0±0.04ms | 0.00% | | Large file parity evaluation | **34.0±0.07ms** | 34.1±0.88ms | **+0.29%** | | Large input file compilation | 14.2±0.33ms | 14.1±0.24ms | -0.70% | | Large input file compilation (interpreter) | 51.5±2.44ms | 50.3±1.20ms | -2.33% | | Large nested iteration | 33.2±0.13ms | **32.8±0.18ms** | **-1.20%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1609.8±147.16µs | 1612.2±150.47µs | +0.15% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 8.2±0.14ms | 8.2±0.12ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1472.6±151.64µs | 1467.2±126.65µs | -0.37% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.9±0.15ms | 28.8±0.36ms | -0.35% | | Teleport evaluation | 89.6±3.69µs | 88.3±3.53µs | -1.45% |