Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More plots for layer errors #1988

Merged
merged 28 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c524f55
swarm
SamFerracin Oct 21, 2024
df94994
fixes
SamFerracin Oct 21, 2024
e9cad6c
style
SamFerracin Oct 22, 2024
0486fb8
Merge branch 'main' of https://github.com/Qiskit/qiskit-ibm-runtime i…
SamFerracin Oct 22, 2024
148b37a
first tests
SamFerracin Oct 22, 2024
28386de
more tests
SamFerracin Oct 22, 2024
3c5aa85
all tests
SamFerracin Oct 22, 2024
b000565
done
SamFerracin Oct 22, 2024
e412117
Merge branch 'main' into more-plots
SamFerracin Oct 22, 2024
8f7b282
Merge branch 'main' of https://github.com/Qiskit/qiskit-ibm-runtime i…
SamFerracin Oct 27, 2024
254fa00
better swarm plots
SamFerracin Oct 28, 2024
d181a87
some improvements
SamFerracin Oct 29, 2024
e7e5ead
black
SamFerracin Oct 29, 2024
a1ec570
conflicts
SamFerracin Oct 30, 2024
1c1af48
tests
SamFerracin Oct 30, 2024
d18a314
improvements
SamFerracin Oct 31, 2024
33d3f46
removed bar plots
SamFerracin Oct 31, 2024
9afdbe9
black
SamFerracin Oct 31, 2024
7da10e3
Merge branch 'more-plots' of https://github.com/SamFerracin/qiskit-ib…
SamFerracin Oct 31, 2024
fd4d540
Merge branch 'main' of https://github.com/Qiskit/qiskit-ibm-runtime i…
SamFerracin Oct 31, 2024
847a31c
style
SamFerracin Oct 31, 2024
3093f2f
fixes
SamFerracin Oct 31, 2024
0ac9db4
Merge branch 'main' into more-plots
SamFerracin Nov 5, 2024
dd023a7
Merge branch 'main' into more-plots
SamFerracin Nov 5, 2024
64768b5
CR
SamFerracin Nov 5, 2024
dc2e326
Merge branch 'more-plots' of https://github.com/SamFerracin/qiskit-ib…
SamFerracin Nov 5, 2024
d314467
reno
SamFerracin Nov 5, 2024
94e5517
Update release-notes/unreleased/1988.feat.rst
SamFerracin Nov 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions qiskit_ibm_runtime/utils/noise_learner_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def draw_map(
width=width,
)

def draw_layer_errors_swarm(
def draw_swarm(
self,
num_bodies: Optional[int] = None,
max_rate: Optional[float] = None,
Expand All @@ -323,7 +323,7 @@ def draw_layer_errors_swarm(

.. note::
To draw multiple layer errors at once, consider calling
:meth:`~qiskit_ibm_runtime.visualization.draw_execution_spans` directly.
:meth:`~qiskit_ibm_runtime.visualization.draw_layer_errors_swarm` directly.

Args:
num_bodies: The weight of the generators to include in the plot, or ``None`` if all the
Expand Down
4 changes: 4 additions & 0 deletions release-notes/unreleased/1988.feat.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Added :func:`~.draw_layer_errors_swarm` to draw a swarm plot of one or more
:class:`~.LayerError` objects. Also added the convenience method
:meth:`~.LayerError.draw_swarm` to invoke the drawing function on a particular instance.
(`1988 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1988>`__)
SamFerracin marked this conversation as resolved.
Show resolved Hide resolved