microsoft / qsharp

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

Add unpublished katas to playground and tests #1589

Closed tcNickolas closed 4 months ago

tcNickolas commented 4 months ago

Unpublished katas are listed after published ones in alphabetic order.

This closes #1419.

github-actions[bot] commented 4 months ago

Benchmark for ebe8dd3

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 336.2±6.56µs | **333.5±1.73µs** | **-0.80%** | | Array literal evaluation | 170.7±2.08µs | 170.5±0.78µs | -0.12% | | Array update evaluation | 422.0±22.93µs | **411.5±1.90µs** | **-2.49%** | | Core + Standard library compilation | 19.0±0.49ms | **18.5±0.45ms** | **-2.63%** | | Deutsch-Jozsa evaluation | 5.1±0.06ms | 5.1±0.08ms | 0.00% | | Large file parity evaluation | 33.9±0.19ms | 33.9±0.20ms | 0.00% | | Large input file compilation | 13.1±0.33ms | **12.4±0.17ms** | **-5.34%** | | Large input file compilation (interpreter) | 48.6±1.16ms | 47.8±1.71ms | -1.65% | | Large nested iteration | 32.9±0.33ms | 32.9±0.09ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1580.1±62.96µs | 1569.3±30.62µs | -0.68% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.8±0.10ms | 7.8±0.10ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1434.8±41.23µs | 1429.1±36.28µs | -0.40% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.2±0.18ms | 28.1±0.17ms | -0.35% | | Teleport evaluation | 90.8±4.58µs | 91.1±6.02µs | +0.33% |
billti commented 4 months ago

I did have an alternate approach for this which I've been meaning to discuss with you, and might be a little cleaner than this. Happy to discuss tomorrow or next week if you have time to see if it might be preferable.

github-actions[bot] commented 4 months ago

Benchmark for 717beca

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 335.0±3.26µs | 333.9±1.64µs | -0.33% | | Array literal evaluation | 171.3±1.07µs | 171.3±2.98µs | 0.00% | | Array update evaluation | 412.3±2.86µs | 411.7±1.46µs | -0.15% | | Core + Standard library compilation | 21.2±0.54ms | 21.5±0.53ms | +1.42% | | Deutsch-Jozsa evaluation | 5.2±0.07ms | 5.2±0.09ms | 0.00% | | Large file parity evaluation | 34.0±0.10ms | 34.0±0.40ms | 0.00% | | Large input file compilation | 14.8±0.31ms | **13.9±0.47ms** | **-6.08%** | | Large input file compilation (interpreter) | 51.8±1.50ms | 51.6±1.33ms | -0.39% | | Large nested iteration | 33.0±0.45ms | 33.0±1.15ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1629.3±175.40µs | 1644.1±151.18µs | +0.91% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 8.3±0.14ms | 8.3±0.28ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1501.5±160.56µs | 1495.1±132.81µs | -0.43% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 29.5±0.27ms | **29.1±0.33ms** | **-1.36%** | | Teleport evaluation | 90.3±3.75µs | 91.2±5.45µs | +1.00% |