fix: onboard onto ruff #35
Annotations
1 error and 5 warnings
benchmark
# :warning: **Performance Alert** :warning:
Possible performance regression was detected for benchmark **'Python Benchmark with pytest-benchmark'**.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold `2`.
| Benchmark suite | Current: 43998be4a2073b4934080303f60dfdc08332be07 | Previous: 22529c13e9e86968af06a1ff0deaf9d963b5dcc3 | Ratio |
|-|-|-|-|
| `benchmark/benchmark.py::test_exact_shots[ghz-density_matrix q[0], q[1]-9-braket_dm_v2]` | `75.95764127945702` iter/sec (`stddev: 0`) | `153.71055748678359` iter/sec (`stddev: 0`) | `2.02` |
| `benchmark/benchmark.py::test_exact_shots[ghz-probability-9-braket_sv]` | `44.38111318766544` iter/sec (`stddev: 0`) | `107.64480950290103` iter/sec (`stddev: 0`) | `2.43` |
| `benchmark/benchmark.py::test_exact_shots[qft-expectation z(q[0])-14-braket_sv_v2]` | `39.02024107890235` iter/sec (`stddev: 0`) | `111.87265312130869` iter/sec (`stddev: 0`) | `2.87` |
| `benchmark/benchmark.py::test_exact_shots[qft-variance y(q[0])-7-braket_dm_v2]` | `104.77167506991243` iter/sec (`stddev: 0`) | `226.40145215726892` iter/sec (`stddev: 0`) | `2.16` |
| `benchmark/benchmark.py::test_nonzero_shots[qft-sample z(q[0])-100-13-braket_sv_v2]` | `30.859642495239537` iter/sec (`stddev: 0`) | `97.55205982732475` iter/sec (`stddev: 0`) | `3.16` |
This comment was automatically generated by [workflow](https://github.com/amazon-braket/amazon-braket-simulator-v2-python/actions?query=workflow%3ABenchmark) using [github-action-benchmark](https://github.com/marketplace/actions/continuous-benchmark).
Comment was generated at https://github.com/amazon-braket/amazon-braket-simulator-v2-python/pull/38#pullrequestreview-2357719898
|
benchmark
Performance alert! Previous value was 153.71055748678359 and current value is 75.95764127945702. It is 2.0236352116472984x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 107.64480950290103 and current value is 44.38111318766544. It is 2.425464387243402x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 111.87265312130869 and current value is 39.02024107890235. It is 2.867041566839435x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 226.40145215726892 and current value is 104.77167506991243. It is 2.1609032403671593x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 97.55205982732475 and current value is 30.859642495239537. It is 3.1611532713761448x worse than previous exceeding a ratio threshold 2
|