Repo Added
|
Files
868
|
Badge
README BADGES
|
push
github
Explicitly specify that `Target` cannot be modified by indexing. (#14379) (#14631) * 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 * Docs: Fix docstring based on @mtreinish's comment * Docs: Make note into a paragraph. * Update qiskit/transpiler/target.py --------- (cherry picked from commit 24c208ef4) Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com> Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
83055 of 94392 relevant lines covered (87.99%)
517233.81 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|