Skip to content

Commit 6f658d8

Browse files
committed
Merge remote-tracking branch 'upstream/main' into judealnas/issue1577
2 parents 4ce14c1 + d76642b commit 6f658d8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/manuals/verification/state_tomography.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@ details). For example, if ``cvxpy`` is installed we can use the
127127
:func:`~.cvxpy_gaussian_lstsq` fitter, which allows constraining the fit to be
128128
PSD without requiring rescaling.
129129

130+
.. jupyter-execute::
131+
:hide-code:
132+
133+
import warnings
134+
# Hide warning from scs from output; is there a way to avoid the warning?
135+
# Full warning line:
136+
# /.tox/docs/lib/python3.13/site-packages/scs/__init__.py:83: UserWarning:
137+
# Converting A to a CSC (compressed sparse column) matrix; may take a while.
138+
warnings.filterwarnings("ignore", module=r"scs", message="Converting A to a CSC")
139+
130140
.. jupyter-execute::
131141

132142
try:

0 commit comments

Comments
 (0)