Repo Added
|
Files
868
|
Badge
README BADGES
|
github
Explicitly specify that `Target` cannot be modified by indexing. (#14379) * Docs: Explicitly specify that `Target` cannot be modified by indexing. - Add a note to the `Target` class docstring expressing that users should only modify properties using `update_instruction_properties`. - Extend docstring of `update_instruction_properties` to explicitly state that it should be the only method able to modify a `Target`instruction's property. * Apply suggestions from code review Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * Docs: Fix docstring based on @mtreinish's comment * Docs: Make note into a paragraph. * Update qiskit/transpiler/target.py --------- Co-authored-by: Matthew Treinish <mtreinish@kortar.org> (cherry picked from commit 24c208ef4)
83063 of 94392 relevant lines covered (88.0%)
517394.32 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|