{
  "ok": true,
  "mode": "GOVERNED_RAYLEIGH_PLESSET_ACOUSTIC_CAVITATION",
  "status": "ready",
  "runtime": "willow_meta_layer",
  "benchTestProtocol": {
    "hardware": {
      "flask": "100 mL spherical borosilicate flask",
      "transducers": "Dual piezoelectric, 20–40 kHz tunable",
      "medium": "Degassed ultrapure H₂O + noble gas (Ar or Xe)",
      "detector": "PMT / SPAD (single-photon avalanche diode)",
      "balance": "Precision microbalance (torsion) for thrust measurement",
      "fpgaControl": "FPGA/MCU running Π_A on amplitude + phase"
    },
    "governedControl": {
      "operator": "Π_A (acoustic projection operator)",
      "targets": [
        "driving_amplitude",
        "driving_phase"
      ],
      "rescueK": 0.93,
      "noiseP": 0.0007,
      "updateRate_kHz": 25
    },
    "metrics": [
      {
        "metric": "Flash timing regularity",
        "unit": "σ_t (ps)",
        "governed": 6.4,
        "ungoverned": 72.8
      },
      {
        "metric": "Spectral peak shift",
        "unit": "nm",
        "governed": 484,
        "ungoverned": 637.7
      },
      {
        "metric": "Photon intensity (rel.)",
        "unit": "counts/s",
        "governed": 11693,
        "ungoverned": 3960
      },
      {
        "metric": "Directional thrust",
        "unit": "μN",
        "governed": 2.222,
        "ungoverned": 0.572
      }
    ],
    "successThreshold": {
      "minK": 0.85,
      "projectedImprovementMin": 2,
      "projectedImprovementMax": 5,
      "currentK": 0.93,
      "thresholdMet": true,
      "coherenceGain": 2.74,
      "photonOutputGain": 3.28,
      "note": "K=0.93 ≥ 0.85 threshold met. Projected 2.74–3.28× improvement over ungoverned."
    },
    "benchReadyStatus": "READY_FOR_BENCH",
    "crossLink": "/cavitation-phased-array"
  },
  "boundary": {
    "cirqExecution": "not_executed",
    "pythonExecution": "not_executed",
    "hardwareExecution": "not_executed",
    "receiptsRequiredForExecutionClaims": true
  },
  "qubit": {
    "id": "bubble_mode",
    "type": "NamedQubit",
    "basisRepresentation": "bosonic_mode_approximation",
    "measurementKey": "sonoluminescence_flash"
  },
  "simulationInput": {
    "steps": 50,
    "acousticDrive": 0.8,
    "rescueK": 0.93,
    "noiseP": 0.0007,
    "acousticFrequencyAnalog_kHz": 25,
    "prompt": null
  },
  "circuitSummary": {
    "totalMoments": 51,
    "gatesPerStep": [
      "Rx(acoustic_drive * sin(2π t / 25))",
      "depolarize(p=0.0007)"
    ],
    "finalMoment": "measure(bubble_mode, key='sonoluminescence_flash')",
    "moments": [
      {
        "moment": 0,
        "gate": "Rx(0)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": "acoustic onset"
      },
      {
        "moment": 1,
        "gate": "Rx(0.19895)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": null
      },
      {
        "moment": 2,
        "gate": "Rx(0.3854)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": null
      },
      {
        "moment": 3,
        "gate": "Rx(0.54764)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": null
      },
      {
        "moment": 4,
        "gate": "Rx(0.67546)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": null
      },
      {
        "moment": 5,
        "gate": "Rx(0.76085)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": null
      },
      {
        "moment": 6,
        "gate": "Rx(0.79842)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": null
      },
      {
        "moment": 7,
        "gate": "Rx(0.78583)(bubble_mode)",
        "depolarize": "depolarize(p=0.0007)(bubble_mode)",
        "note": null
      },
      {
        "moment": "...",
        "gate": "… 42 more moments …",
        "depolarize": ""
      },
      {
        "moment": 50,
        "gate": "measure(bubble_mode, key='sonoluminescence_flash')",
        "depolarize": ""
      }
    ]
  },
  "governedMetrics": {
    "coherenceScore": 0.8808,
    "governanceStability": 1,
    "flashProbability": 0.0228,
    "rescueInterventions": 0,
    "meanPurity": 0.9538,
    "minPurity": 0.9109
  },
  "measurementResult": {
    "key": "sonoluminescence_flash",
    "outcome": 0,
    "interpretation": "NO FLASH — collapse energy below detection threshold.",
    "finalBlochVector": {
      "x": 0,
      "y": 0,
      "z": 0.95438
    },
    "p1": 0.0228
  },
  "telemetry": {
    "acousticFrequencyKHz": 25,
    "acousticDrive": 0.8,
    "rescueK": 0.93,
    "noiseP": 0.0007,
    "totalSteps": 50,
    "rescueInterventions": 0,
    "meanPurity": 0.9538,
    "minPurity": 0.9109,
    "maxIntensityProxy": 0.6556,
    "meanCollapseProb": 0.3448,
    "peakFlashStep": 6,
    "peakRxAngleStep": 6,
    "peakRxAngle": 0.79842
  },
  "bubbleDynamics": {
    "ambientRadiusUm": 5,
    "acousticPressureKPa": 81.06,
    "collapseFactor": 3.381,
    "estimatedFlashTempK": 34760,
    "flashDurationPs": 160,
    "lindbladDampingRate": 0.0007,
    "wilsonChamberAnalog": "Mie scattering photon burst at collapse",
    "notes": [
      "Rx gates model acoustic Rabi driving at 25 kHz.",
      "Depolarize p=0.0007 models viscous/thermal Lindblad damping.",
      "K=0.93 rescue operator governs coherence floor — prevents unphysical decoherence.",
      "Final measurement outcome → sonoluminescence_flash detection event."
    ]
  },
  "sampledStepLog": [
    {
      "t": 0,
      "rxAngle": 0,
      "blochX": 0,
      "blochY": 0,
      "blochZ": 0.99907,
      "purity": 0.99813,
      "rescueApplied": false,
      "collapseProb": 0.0005,
      "intensityProxy": 0
    },
    {
      "t": 1,
      "rxAngle": 0.19895,
      "blochX": 0,
      "blochY": -0.19727,
      "blochZ": 0.97845,
      "purity": 0.99627,
      "rescueApplied": false,
      "collapseProb": 0.0108,
      "intensityProxy": 0.002
    },
    {
      "t": 2,
      "rxAngle": 0.3854,
      "blochX": 0,
      "blochY": -0.55012,
      "blochZ": 0.83173,
      "purity": 0.99441,
      "rescueApplied": false,
      "collapseProb": 0.0841,
      "intensityProxy": 0.0294
    },
    {
      "t": 3,
      "rxAngle": 0.54764,
      "blochX": 0,
      "blochY": -0.90189,
      "blochZ": 0.42327,
      "purity": 0.99256,
      "rescueApplied": false,
      "collapseProb": 0.2884,
      "intensityProxy": 0.1397
    },
    {
      "t": 4,
      "rxAngle": 0.67546,
      "blochX": 0,
      "blochY": -0.9676,
      "blochZ": -0.23336,
      "purity": 0.99071,
      "rescueApplied": false,
      "collapseProb": 0.6167,
      "intensityProxy": 0.3586
    },
    {
      "t": 6,
      "rxAngle": 0.79842,
      "blochX": 0,
      "blochY": 0.22178,
      "blochZ": -0.96841,
      "purity": 0.98701,
      "rescueApplied": false,
      "collapseProb": 0.9842,
      "intensityProxy": 0.6556
    },
    {
      "t": 47,
      "rxAngle": -0.54764,
      "blochX": 0,
      "blochY": -0.52748,
      "blochZ": 0.79751,
      "purity": 0.91426,
      "rescueApplied": false,
      "collapseProb": 0.1012,
      "intensityProxy": 0.049
    },
    {
      "t": 48,
      "rxAngle": -0.3854,
      "blochX": 0,
      "blochY": -0.1888,
      "blochZ": 0.93643,
      "purity": 0.91255,
      "rescueApplied": false,
      "collapseProb": 0.0318,
      "intensityProxy": 0.0111
    },
    {
      "t": 49,
      "rxAngle": -0.19895,
      "blochX": 0,
      "blochY": 0,
      "blochZ": 0.95438,
      "purity": 0.91085,
      "rescueApplied": false,
      "collapseProb": 0.0228,
      "intensityProxy": 0.0042
    }
  ],
  "recommendations": [
    "Increase acousticDrive toward 1.2–1.5 for stronger cavitation collapse.",
    "K < 0.90 yields higher flash probability but risks decoherence — balance with noiseP.",
    "25 kHz analog drives a Rabi-like cycle; peak collapse near t=6 (quarter-cycle).",
    "Bind AUAU operator authority before any hardware Willow execution claims.",
    "Use cirq-qml-runtime-simulation for full QML circuit intake scoring."
  ],
  "crossLinks": {
    "cirqRuntimeSimulation": "/cirq-runtime-simulation",
    "cirqRuntimeSimulationApi": "/api/cirq-qml-runtime-simulation",
    "cirqExtension": "/api/cirq-extension"
  },
  "timestamp": "2026-10-28T09:53:43.109Z",
  "simulation": "Sonoluminescence — Governed Cavitation",
  "params": {
    "frequency_hz": 25000,
    "acoustic_pressure_atm": 1.3,
    "bubble_radius_um": 4.5,
    "cycles": 100
  },
  "results": {
    "peak_temperature_K": 21060,
    "peak_pressure_atm": 1690,
    "flash_duration_ps": 125.4,
    "photon_count": 1495000,
    "collapse_ratio": 1.3,
    "stable": true
  },
  "timeline": [
    {
      "cycle": 1,
      "bubble_radius_um": 4.5,
      "temperature_K": 0,
      "light_intensity": 0
    },
    {
      "cycle": 2,
      "bubble_radius_um": 4.726045870305528,
      "temperature_K": 0.020500860663342876,
      "light_intensity": 1.4166698355330133e-12
    },
    {
      "cycle": 3,
      "bubble_radius_um": 4.951199640831495,
      "temperature_K": 0.327366829669861,
      "light_intensity": 3.612383118875822e-10
    },
    {
      "cycle": 4,
      "bubble_radius_um": 5.174572732508608,
      "temperature_K": 1.651848927730008,
      "light_intensity": 9.197400759878281e-9
    },
    {
      "cycle": 5,
      "bubble_radius_um": 5.3952835937934776,
      "temperature_K": 5.1966485309852075,
      "light_intensity": 9.102719258256633e-8
    },
    {
      "cycle": 6,
      "bubble_radius_um": 5.61246117974981,
      "temperature_K": 12.61212110408198,
      "light_intensity": 5.361677938272618e-7
    },
    {
      "cycle": 7,
      "bubble_radius_um": 5.825248389664841,
      "temperature_K": 25.96351528357854,
      "light_intensity": 0.0000022722255776051635
    },
    {
      "cycle": 8,
      "bubble_radius_um": 6.032805449634262,
      "temperature_K": 47.68979054624005,
      "light_intensity": 0.000007666114278709518
    },
    {
      "cycle": 9,
      "bubble_radius_um": 6.234313226766175,
      "temperature_K": 80.55469692032503,
      "light_intensity": 0.00002187289131380722
    },
    {
      "cycle": 10,
      "bubble_radius_um": 6.428976461924388,
      "temperature_K": 127.59092950883502,
      "light_intensity": 0.000054873676875206
    }
  ],
  "governance": {
    "cavitation_governed": true,
    "vortex_thrust_vector": "FTLE mapped",
    "constitutional_bound": "Kerr-Newman canvas",
    "patent": "USPTO 19/731,025"
  },
  "route": "/api/sonoluminescence-simulation",
  "purpose": "Advisory simulation of governed_rayleigh_plesset_circuit. Cirq Rx acoustic driving (25 kHz analog) + Lindblad depolarizing (K=0.93 rescue). Outputs sonoluminescence_flash measurement, coherence score, bubble dynamics.",
  "defaultParams": {
    "steps": 50,
    "acousticDrive": 0.8,
    "rescueK": 0.93
  },
  "boundaries": [
    "No Python or Cirq runtime execution from this route.",
    "No hardware (Willow or otherwise) execution without receipts.",
    "All outputs are governed advisory simulation."
  ],
  "circuitSignature": "governed_rayleigh_plesset_circuit(steps=50, acoustic_drive=0.8)",
  "authority": "Joshua Lopez — DCGP.AI",
  "patent": "USPTO 19/731,025",
  "ts": "2026-10-28T09:53:43.109Z"
}