pygsti.tools.exceptions.ForwardSimDiagnosticWarning#
- exception ForwardSimDiagnosticWarning#
Inner-loop numerical-scaling diagnostic from the forward simulator (e.g., ‘Scaled dProd small to keep prod manageable’, ‘hProd is small’). The scaling code is working as designed; these messages fire frequently and are rarely actionable for end users.
Suppressed by default via the class-level
enabledflag – emit sites are expected to guardwarnings.warnon this flag, so the warning literally does not fire unless the flag is flipped. SetForwardSimDiagnosticWarning.enabled = Trueat runtime (e.g., when debugging a numerical issue in the forward simulator) to surface them.