microsoft / qsharp

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

Three qubit repetition code sample works in Adaptive Profile #1534

Closed DmitryVasilevsky closed 1 month ago

DmitryVasilevsky commented 1 month ago

Three Qubit Repetition Code sample suitable for adaptive profile. Based on https://github.com/microsoft/Quantum/blob/main/samples/azure-quantum/three-qubit-repetition-code/ThreeQubitRepetitionCode.qs

github-actions[bot] commented 1 month ago

Benchmark for 2d30430

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **324.6±1.06µs** | 330.2±3.37µs | **+1.73%** | | Array literal evaluation | **182.6±9.90µs** | 192.2±1.04µs | **+5.26%** | | Array update evaluation | **406.2±1.75µs** | 409.9±2.34µs | **+0.91%** | | Core + Standard library compilation | 16.9±0.20ms | 16.9±0.08ms | 0.00% | | Deutsch-Jozsa evaluation | 5.0±0.03ms | 5.0±0.08ms | 0.00% | | Large file parity evaluation | **33.8±0.08ms** | 33.9±0.08ms | **+0.30%** | | Large input file compilation | 11.7±0.45ms | 11.6±0.30ms | -0.85% | | Large input file compilation (interpreter) | 43.7±0.73ms | 43.7±2.76ms | 0.00% | | Large nested iteration | 32.5±1.41ms | 32.8±0.30ms | +0.92% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1547.4±31.74µs | 1546.8±26.88µs | -0.04% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.8±0.25ms | **7.7±0.06ms** | **-1.28%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1416.5±34.27µs | 1413.1±28.23µs | -0.24% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 26.9±0.15ms | 27.0±0.67ms | +0.37% | | Teleport evaluation | 86.8±3.61µs | 87.1±3.60µs | +0.35% |
github-actions[bot] commented 1 month ago

Benchmark for 2103e3b

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **327.5±6.82µs** | 330.4±1.64µs | **+0.89%** | | Array literal evaluation | **174.4±1.16µs** | 192.6±1.34µs | **+10.44%** | | Array update evaluation | **406.4±7.48µs** | 408.9±1.45µs | **+0.62%** | | Core + Standard library compilation | 17.2±0.48ms | 17.3±0.12ms | +0.58% | | Deutsch-Jozsa evaluation | 5.0±0.05ms | 5.0±0.17ms | 0.00% | | Large file parity evaluation | **33.9±0.07ms** | 34.0±0.34ms | **+0.29%** | | Large input file compilation | 11.8±0.27ms | 11.7±0.17ms | -0.85% | | Large input file compilation (interpreter) | 45.0±2.04ms | 44.3±1.11ms | -1.56% | | Large nested iteration | 32.3±0.38ms | 32.6±0.56ms | +0.93% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1557.5±35.20µs | 1552.6±28.65µs | -0.31% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.8±0.08ms | **7.7±0.07ms** | **-1.28%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1424.1±52.11µs | 1416.0±29.13µs | -0.57% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 27.0±0.19ms | 27.0±0.14ms | 0.00% | | Teleport evaluation | 87.4±7.42µs | 87.4±3.58µs | 0.00% |
github-actions[bot] commented 1 month ago

Benchmark for bb101fa

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 325.0±2.42µs | 324.7±2.30µs | -0.09% | | Array literal evaluation | 174.4±4.14µs | 173.9±0.81µs | -0.29% | | Array update evaluation | 404.9±2.38µs | 404.9±2.77µs | 0.00% | | Core + Standard library compilation | 18.7±1.00ms | **17.9±0.71ms** | **-4.28%** | | Deutsch-Jozsa evaluation | 5.0±0.03ms | 5.0±0.05ms | 0.00% | | Large file parity evaluation | 34.0±0.25ms | 34.0±0.10ms | 0.00% | | Large input file compilation | 11.8±0.10ms | 11.9±0.55ms | +0.85% | | Large input file compilation (interpreter) | 45.7±1.35ms | 45.2±1.54ms | -1.09% | | Large nested iteration | 31.8±0.25ms | 32.0±0.40ms | +0.63% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1602.9±131.12µs | 1566.0±51.58µs | -2.30% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.9±0.21ms | 7.9±0.25ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1463.8±120.73µs | **1417.8±36.82µs** | **-3.14%** | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 27.6±0.27ms | **27.1±0.40ms** | **-1.81%** | | Teleport evaluation | 87.4±3.51µs | 87.5±5.13µs | +0.11% |
github-actions[bot] commented 1 month ago

Benchmark for 615e7ce

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 393.6±6.92µs | **327.6±1.41µs** | **-16.77%** | | Array literal evaluation | 192.1±4.34µs | **189.5±1.70µs** | **-1.35%** | | Array update evaluation | 475.1±4.63µs | **410.5±3.84µs** | **-13.60%** | | Core + Standard library compilation | 19.2±1.30ms | 19.4±0.84ms | +1.04% | | Deutsch-Jozsa evaluation | 5.3±0.06ms | **5.1±0.31ms** | **-3.77%** | | Large file parity evaluation | 34.4±0.09ms | **34.3±0.50ms** | **-0.29%** | | Large input file compilation | 12.8±0.52ms | **12.5±0.18ms** | **-2.34%** | | Large input file compilation (interpreter) | 50.3±2.03ms | **47.6±2.07ms** | **-5.37%** | | Large nested iteration | 38.6±0.95ms | **33.1±0.83ms** | **-14.25%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1567.3±69.20µs | 1547.4±28.15µs | -1.27% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.8±0.09ms | **7.7±0.08ms** | **-1.28%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1440.6±100.90µs | 1425.9±63.24µs | -1.02% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 27.5±0.26ms | 27.3±0.23ms | -0.73% | | Teleport evaluation | 91.7±3.95µs | 88.9±3.80µs | -3.05% |