From a0d11f9129fab730917c6876110a7bc7360e391f Mon Sep 17 00:00:00 2001 From: Craig Gidney Date: Sun, 24 Mar 2019 10:26:10 -0700 Subject: [PATCH] Increase amplitude display sensitivity to decoherence by 10x --- src/gates/AmplitudeDisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gates/AmplitudeDisplay.js b/src/gates/AmplitudeDisplay.js index 414b1438..c6063920 100644 --- a/src/gates/AmplitudeDisplay.js +++ b/src/gates/AmplitudeDisplay.js @@ -245,7 +245,7 @@ const AMPLITUDE_DRAWER_FROM_CUSTOM_STATS = GatePainting.makeDisplayDrawer(args = let matrix = isIncoherent ? incoherentKet : ket; let dw = args.rect.w - args.rect.h*ket.width()/ket.height(); let drawRect = args.rect.skipLeft(dw/2).skipRight(dw/2); - let indicatorAlpha = Math.min(1, Math.max(0, (quality - 0.999) / 0.001)); + let indicatorAlpha = Math.min(1, Math.max(0, (quality - 0.9999) / 0.0001)); MathPainter.paintMatrix( args.painter, matrix,