microsoft / qsharp

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

GHZ and CAT samples work in Adaptive and Base Profiles #1532

Closed DmitryVasilevsky closed 4 months ago

DmitryVasilevsky commented 4 months ago

This updates GHZ state and CAT state sample to work in base profile and adaptive profile.

github-actions[bot] commented 4 months ago

Benchmark for f41721d

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 329.8±4.73µs | 331.9±4.75µs | +0.64% | | Array literal evaluation | **175.6±8.05µs** | 193.5±3.94µs | **+10.19%** | | Array update evaluation | 409.8±5.78µs | 412.2±15.01µs | +0.59% | | Core + Standard library compilation | 17.4±1.00ms | 17.1±0.50ms | -1.72% | | Deutsch-Jozsa evaluation | 5.0±0.04ms | 5.0±0.05ms | 0.00% | | Large file parity evaluation | **33.9±0.08ms** | 34.0±0.30ms | **+0.29%** | | Large input file compilation | **11.7±0.10ms** | 11.9±0.25ms | **+1.71%** | | Large input file compilation (interpreter) | 45.1±1.21ms | 45.4±1.49ms | +0.67% | | Large nested iteration | **32.3±0.47ms** | 32.9±0.91ms | **+1.86%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1548.3±29.09µs | 1565.3±89.54µs | +1.10% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.7±0.06ms | 7.7±0.06ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1411.7±28.57µs | 1421.3±49.99µs | +0.68% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | **26.9±0.11ms** | 27.3±0.45ms | **+1.49%** | | Teleport evaluation | 87.1±3.62µs | 87.9±5.70µs | +0.92% |
github-actions[bot] commented 4 months ago

Benchmark for 376c26a

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 332.2±3.35µs | 335.1±3.19µs | +0.87% | | Array literal evaluation | 196.3±1.14µs | **192.8±2.27µs** | **-1.78%** | | Array update evaluation | **408.8±1.47µs** | 416.3±5.47µs | **+1.83%** | | Core + Standard library compilation | 17.1±0.26ms | 17.0±0.21ms | -0.58% | | Deutsch-Jozsa evaluation | 5.3±0.04ms | **5.0±0.29ms** | **-5.66%** | | Large file parity evaluation | 34.2±0.10ms | **33.9±0.08ms** | **-0.88%** | | Large input file compilation | 11.8±0.24ms | **11.7±0.10ms** | **-0.85%** | | Large input file compilation (interpreter) | 45.1±1.24ms | 44.5±1.21ms | -1.33% | | Large nested iteration | **32.7±0.20ms** | 33.1±0.80ms | **+1.22%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1555.9±35.11µs | 1557.5±55.26µs | +0.10% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.8±0.26ms | 7.7±0.24ms | -1.28% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1417.4±25.03µs | 1418.9±36.12µs | +0.11% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 27.0±0.21ms | 27.1±0.29ms | +0.37% | | Teleport evaluation | 91.8±3.84µs | 88.1±6.54µs | -4.03% |
github-actions[bot] commented 4 months ago

Benchmark for 2a69980

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **324.1±1.78µs** | 336.0±10.90µs | **+3.67%** | | Array literal evaluation | **168.7±3.83µs** | 186.3±0.53µs | **+10.43%** | | Array update evaluation | **405.4±2.00µs** | 412.7±2.77µs | **+1.80%** | | Core + Standard library compilation | 20.8±0.74ms | 20.5±0.53ms | -1.44% | | Deutsch-Jozsa evaluation | 5.1±0.05ms | 5.1±0.04ms | 0.00% | | Large file parity evaluation | **34.2±0.20ms** | 34.3±0.09ms | **+0.29%** | | Large input file compilation | 13.4±0.50ms | 13.7±0.41ms | +2.24% | | Large input file compilation (interpreter) | **50.5±1.50ms** | 52.3±2.32ms | **+3.56%** | | Large nested iteration | **32.4±0.39ms** | 33.0±0.32ms | **+1.85%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1610.1±145.41µs | 1575.4±65.12µs | -2.16% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.7±0.12ms | 7.7±0.30ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1441.0±70.08µs | 1454.4±146.49µs | +0.93% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 27.7±0.40ms | 27.9±0.26ms | +0.72% | | Teleport evaluation | 90.0±5.02µs | 90.1±3.90µs | +0.11% |