From 84def52097b9fafc54600ac47ed68531d950cbcb Mon Sep 17 00:00:00 2001 From: Raynel Sanchez Date: Tue, 10 Dec 2024 14:20:38 -0500 Subject: [PATCH] Docs: Add release note --- .../notes/fix-packed-instruction-f2620d5aff61269d.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 releasenotes/notes/fix-packed-instruction-f2620d5aff61269d.yaml diff --git a/releasenotes/notes/fix-packed-instruction-f2620d5aff61269d.yaml b/releasenotes/notes/fix-packed-instruction-f2620d5aff61269d.yaml new file mode 100644 index 00000000000..cce8c8e24df --- /dev/null +++ b/releasenotes/notes/fix-packed-instruction-f2620d5aff61269d.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + ``PackedInstruction``, the principal representation of an instance of :class:`.CircuitInstruction` + in Rust, has been re-organized to discard its cached instance of a python :class:`.Gate` whenever its + operation, parameters, or extra attributes are modified. This results in ``PackedInstruction`` no + no longer having shared references between them.