A classical local oscillator with a selectable phase reference.
- amplitude : ℝ
- amplitude_nonnegative : 0 ≤ self.amplitude
- phase : ℝ
Instances For
Convert the local oscillator amplitude and phase to an I/Q reference.
Instances For
The normalized plus output of an ideal 50:50 beam splitter.
Instances For
The normalized minus output of an ideal 50:50 beam splitter.
Instances For
The squared I/Q envelope used as the finite classical detector signal.
Instances For
The differential signal produced by the two balanced detector outputs.
Instances For
A complete finite classical balanced-homodyne observation.
- signal : IQ.Sample
- localOscillator : LocalOscillator
- plusOutput : IQ.Sample
- minusOutput : IQ.Sample
- plusOutputLaw : self.plusOutput = beamSplitterPlus self.signal self.localOscillator.asSample
- minusOutputLaw : self.minusOutput = beamSplitterMinus self.signal self.localOscillator.asSample
- plusDetector : ℝ
- minusDetector : ℝ
- plusDetectorLaw : self.plusDetector = sampleEnergy self.plusOutput
- minusDetectorLaw : self.minusDetector = sampleEnergy self.minusOutput
- differentialPhotocurrent : ℝ
- differentialLaw : self.differentialPhotocurrent = self.plusDetector - self.minusDetector
Instances For
The ideal beam splitter conserves the finite I/Q energy.
The detector difference is the interference term of signal and reference.
The finite quadrature selected by a local-oscillator phase.
Instances For
The balanced detector difference is twice the reference amplitude times the selected finite quadrature.
A balanced homodyne record exposes its differential-current law.
Calibrated common-mode rejection data for a balanced detector.
- decibels : ℝ
- decibels_nonnegative : 0 ≤ self.decibels
- leakageFactor : Propagation.BoundedFactor
- leakageFactorLaw : self.leakageFactor.value = 10 ^ (-self.decibels / 10)
Instances For
A finite detector channel response with efficiency, bandwidth, and dark current.
- efficiency : Propagation.BoundedFactor
- responsivity : Units.Responsivity
- responsivity_nonnegative : 0 ≤ self.responsivity.amperesPerWatt
- darkCurrent : Units.Current
- darkCurrent_nonnegative : 0 ≤ self.darkCurrent.amperes
- bandwidth : Units.Frequency
Instances For
A detector observation with an explicit optical-power-to-current law.
- detector : DetectorChannel
- incidentPower : Units.Power
- incidentPower_nonnegative : 0 ≤ self.incidentPower.watts
- outputCurrent : Units.Current
- outputCurrentLaw : self.outputCurrent.amperes = self.detector.responsivity.amperesPerWatt * self.detector.efficiency.value * self.incidentPower.watts + self.detector.darkCurrent.amperes
Instances For
Shot, electronic, and local-oscillator intensity-noise data.
- shotNoise : Units.CurrentNoisePowerDensity
- shotNoise_nonnegative : 0 ≤ self.shotNoise.amperesSquaredPerHertz
- electronicNoise : Units.CurrentNoisePowerDensity
- electronicNoise_nonnegative : 0 ≤ self.electronicNoise.amperesSquaredPerHertz
- localOscillatorRin : Units.CurrentNoisePowerDensity
- localOscillatorRin_nonnegative : 0 ≤ self.localOscillatorRin.amperesSquaredPerHertz
- commonModeRejection : CommonModeRejection
Instances For
Common-mode noise leakage after a calibrated rejection factor.
Instances For
A bounded rejection factor preserves nonnegative noise density.
Common-mode noise leakage cannot exceed the supplied noise density.
The two calibrated current channels of a balanced detector.
- plus : DetectorObservation
- minus : DetectorObservation
- commonModeCurrent : Units.Current
- differentialCurrent : Units.Current
- commonModeLaw : self.commonModeCurrent.amperes = (self.plus.outputCurrent.amperes + self.minus.outputCurrent.amperes) / 2
- differentialLaw : self.differentialCurrent.amperes = self.plus.outputCurrent.amperes - self.minus.outputCurrent.amperes
Instances For
Equal detector currents cancel in the balanced differential channel.
Raw-current calibration with a measured residual and explicit tolerance.
- rawCurrent : Units.Current
- calibration : NonDestructive.CalibrationRecord
- rawCurrentLaw : self.calibration.rawAfter = self.rawCurrent.amperes
- calibratedCurrent : Units.Current
- calibratedCurrentLaw : self.calibratedCurrent.amperes = self.calibration.calibrated
- residual : ℝ
- tolerance : ℝ
- tolerance_nonnegative : 0 ≤ self.tolerance
- residualLaw : self.residual = self.calibratedCurrent.amperes - self.calibration.calibrated
Instances For
A calibrated photocurrent is accepted when its residual is in tolerance.
Instances For
The calibrated photocurrent exposes its raw-data preservation invariant.
The calibrated photocurrent exposes its residual tolerance condition.
Bin a measured quadrature against an explicit finite threshold.
Instances For
A finite pair of homodyne quadrature traces and their summary statistics.
- sampleCount_pos : 0 < sampleCount
- receiverA : BalancedHomodyne
- receiverB : BalancedHomodyne
- missingSamples : ℕ
- missingSamples_le_count : self.missingSamples ≤ sampleCount
- validSampleCount : ℕ
- validSampleCount_pos : 0 < self.validSampleCount
- validSampleCountLaw : self.validSampleCount + self.missingSamples = sampleCount
- outcomesA : Fin sampleCount → ℝ
- outcomesB : Fin sampleCount → ℝ
- outcomesALaw (index : Fin sampleCount) : self.outcomesA index = self.receiverA.differentialPhotocurrent
- outcomesBLaw (index : Fin sampleCount) : self.outcomesB index = self.receiverB.differentialPhotocurrent
- meanA : ℝ
- meanB : ℝ
- meanALaw : self.meanA = (∑ index : Fin sampleCount, self.outcomesA index) / ↑self.validSampleCount
- meanBLaw : self.meanB = (∑ index : Fin sampleCount, self.outcomesB index) / ↑self.validSampleCount
- covariance : ℝ
- covarianceLaw : self.covariance = (∑ index : Fin sampleCount, (self.outcomesA index - self.meanA) * (self.outcomesB index - self.meanB)) / ↑self.validSampleCount
- correlationScale : ℝ
- correlationScale_pos : 0 < self.correlationScale
- normalizedCorrelation : ℝ
- normalizedCorrelationLaw : self.normalizedCorrelation = self.covariance / self.correlationScale
- residual : ℝ
- residualTolerance : ℝ
- residualTolerance_nonnegative : 0 ≤ self.residualTolerance
- residualWithinTolerance : |self.residual| ≤ self.residualTolerance
- thresholdA : ℝ
- thresholdB : ℝ
- binsA : Fin sampleCount → Bool
- binsB : Fin sampleCount → Bool
- binsALaw (index : Fin sampleCount) : self.binsA index = signBin self.thresholdA (self.outcomesA index)
- binsBLaw (index : Fin sampleCount) : self.binsB index = signBin self.thresholdB (self.outcomesB index)
Instances For
The first finite trace mean follows its supplied sample average.
The second finite trace mean follows its supplied sample average.
The finite covariance follows its supplied centered-product average.
The normalized finite correlation follows its supplied scale.
The finite dual trace records a bounded count of missing samples.
The finite dual trace exposes its residual acceptance condition.
A finite spatial homodyne sensor grid with a shared local oscillator.
- width_pos : 0 < width
- height_pos : 0 < height
- localOscillator : LocalOscillator
- signal : Fin width → Fin height → IQ.Sample
- pixelPhotocurrent : Fin width → Fin height → ℝ
- pixelPhotocurrentLaw (column : Fin width) (row : Fin height) : self.pixelPhotocurrent column row = differentialPhotocurrent (self.signal column row) self.localOscillator
- phaseMap : Fin width → Fin height → ℝ
Instances For
A grid pixel follows the shared-LO differential photocurrent law.
A grid pixel phase follows the source I/Q phase map.
A typed sample format for downstream homodyne runtime consumers.
- timestamp : Units.Duration
- localOscillatorPhase : ℝ
- detectorA : Units.Current
- detectorB : Units.Current
- rawDifferential : Units.Current
- calibration : NonDestructive.CalibrationRecord
- calibratedDifferential : Units.Current
- calibratedDifferentialLaw : self.calibratedDifferential.amperes = self.calibration.calibrated
- residual : ℝ
- residualTolerance : ℝ
- residualTolerance_nonnegative : 0 ≤ self.residualTolerance
- loss : Propagation.BoundedFactor
- efficiency : Propagation.BoundedFactor
Instances For
A trace sample preserves the raw detector difference law.
A trace sample preserves its affine calibration result.
A dispersive readout composed with balanced detection and current calibration.
- readout : NonDestructive.DispersiveReadout state
- opticalMeasurement : BalancedHomodyne
- detectorMeasurement : BalancedDetectorObservation
- calibratedCurrent : CalibratedPhotocurrent
- phaseShiftAgreement : self.readout.probePhaseShift = self.opticalMeasurement.differentialPhotocurrent
- rawCurrentAgreement : self.calibratedCurrent.rawCurrent.amperes = self.detectorMeasurement.differentialCurrent.amperes
Instances For
The composed record exposes agreement between dispersive phase and homodyne signal.
The composed record preserves the detector pair's raw differential current.