Ran
|
Jobs
1
|
Files
855
|
Run time
3min
|
Badge
Embed ▾
README BADGES
|
github
Fix type of `basis_gates` in `BasicSimulator` configuration (#13385) `basis_gates` was getting set to `Target.operation_names`, which is a `dict_keys` instance (maybe that should be changed to a more basic type?), while typically `basis_gates` is a list. `dict_keys` instances can not be deep copied, so code that usually deep copies a backend's configuration could not work. Deep copying the configuration can happen for example when using the `BasicSimulator` with sampler class like `qiskit_ibm_runtime.SamplerV2` that puts the backend into its options and then tries to deep copy the options. (cherry picked from commit 09d10065b)
66899 of 74527 relevant lines covered (89.76%)
218877.85 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
3 |
93.48 |
1.25% | crates/qasm2/src/lex.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11616880125.1 | 855 |
89.76 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|