Ran
|
Jobs
1
|
Files
855
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Fix type of `basis_gates` in `BasicSimulator` configuration (#13385) (#13386) `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) Co-authored-by: Will Shanks <willshanks@us.ibm.com>
66887 of 74527 relevant lines covered (89.75%)
217942.59 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
7 |
91.23 |
-1.25% | crates/qasm2/src/lex.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11617594582.1 | 855 |
89.75 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|