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

Fix minor formatting issues in Distinguishing States/Unitaries katas #1666

Closed tcNickolas closed 3 days ago

tcNickolas commented 3 days ago

Also includes an improvement for flaky test in BB84 kata

github-actions[bot] commented 3 days ago

Benchmark for 5e5ea72

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 332.4±2.70µs | 332.4±4.41µs | 0.00% | | Array literal evaluation | 190.1±1.29µs | 189.8±0.95µs | -0.16% | | Array update evaluation | 413.1±2.75µs | 412.3±4.01µs | -0.19% | | Core + Standard library compilation | 22.5±1.06ms | 22.5±1.29ms | 0.00% | | Deutsch-Jozsa evaluation | 5.2±0.05ms | 5.2±0.05ms | 0.00% | | Large file parity evaluation | **34.3±0.11ms** | 34.6±0.71ms | **+0.87%** | | Large input file compilation | 14.3±0.81ms | 14.6±0.92ms | +2.10% | | Large input file compilation (interpreter) | 54.0±2.95ms | 56.3±4.00ms | +4.26% | | Large nested iteration | 32.4±0.69ms | 32.3±0.48ms | -0.31% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1622.8±105.78µs | 1637.5±157.60µs | +0.91% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 8.2±0.18ms | 8.3±0.22ms | +1.22% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1484.2±148.78µs | 1484.5±118.11µs | +0.02% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 29.0±0.43ms | 29.1±0.33ms | +0.34% | | Teleport evaluation | 91.2±3.83µs | 91.7±3.72µs | +0.55% |