Cavity electrodynamics and Grover cavity-QED models #
These finite records extract equations from Kipp et al., Cavity Electrodynamics of van der Waals Heterostructures (2024/2025), and Nagib, Saffman, and Mølmer, Efficient preparation of entangled states in cavity QED with Grover's algorithm and Deterministic carving of quantum states with Grover's algorithm (2025). They are conditional data contracts: Lean checks the supplied algebra, but does not assert that an arbitrary cavity realizes the model or that a target fidelity is experimentally achieved.
A pair of coupled cavity and matter modes with hybridized frequencies.
The two hybrid frequencies are the eigenvalues of the real symmetric normalized two-mode coupling matrix. Frequencies are stored in hertz and the coupling is stored in the same frequency convention.
- cavityFrequency : Units.Frequency
- cavityFrequency_pos : 0 < self.cavityFrequency.hz
- matterFrequency : Units.Frequency
- matterFrequency_pos : 0 < self.matterFrequency.hz
- couplingFrequency : Units.Frequency
- couplingFrequency_nonnegative : 0 ≤ self.couplingFrequency.hz
- lowerHybridFrequency : Units.Frequency
- lowerHybridFrequency_nonnegative : 0 ≤ self.lowerHybridFrequency.hz
- upperHybridFrequency : Units.Frequency
- upperHybridFrequency_pos : 0 < self.upperHybridFrequency.hz
- modeSplitting : Units.Frequency
- modeSplitting_nonnegative : 0 ≤ self.modeSplitting.hz
- normalizedCoupling : ℝ
- lowerHybridLaw : self.lowerHybridFrequency.hz = (self.cavityFrequency.hz + self.matterFrequency.hz) / 2 - √(((self.cavityFrequency.hz - self.matterFrequency.hz) / 2) ^ 2 + self.couplingFrequency.hz ^ 2)
- upperHybridLaw : self.upperHybridFrequency.hz = (self.cavityFrequency.hz + self.matterFrequency.hz) / 2 + √(((self.cavityFrequency.hz - self.matterFrequency.hz) / 2) ^ 2 + self.couplingFrequency.hz ^ 2)
- modeSplittingLaw : self.modeSplitting.hz = self.upperHybridFrequency.hz - self.lowerHybridFrequency.hz
- normalizedCouplingLaw : self.normalizedCoupling = self.couplingFrequency.hz / self.cavityFrequency.hz
Instances For
The hybrid-mode splitting is twice the coupling at exact resonance.
The normalized cavity coupling is nonnegative.
The ultrastrong-coupling criterion used in the cavity paper.
Instances For
A gate-tunable collective-mode resonance fitted to a carrier-density law. The exponent is stored as a model parameter because the reported power law is a fit, not a universal graphene theorem.
- carrierDensity : ℝ
- carrierDensity_pos : 0 < self.carrierDensity
- prefactor : ℝ
- prefactor_pos : 0 < self.prefactor
- exponent : ℝ
- resonanceFrequency : Units.Frequency
- resonanceFrequency_pos : 0 < self.resonanceFrequency.hz
- resonanceLaw : self.resonanceFrequency.hz = self.prefactor * self.carrierDensity.rpow self.exponent
Instances For
A finite spectral-weight transfer record for two hybrid branches.
- upperWeightBefore : ℝ
- upperWeightBefore_nonnegative : 0 ≤ self.upperWeightBefore
- lowerWeightBefore : ℝ
- lowerWeightBefore_nonnegative : 0 ≤ self.lowerWeightBefore
- upperWeightAfter : ℝ
- upperWeightAfter_nonnegative : 0 ≤ self.upperWeightAfter
- lowerWeightAfter : ℝ
- lowerWeightAfter_nonnegative : 0 ≤ self.lowerWeightAfter
- conservation : self.upperWeightBefore + self.lowerWeightBefore = self.upperWeightAfter + self.lowerWeightAfter
- transferAmount : ℝ
- transferAmount_nonnegative : 0 ≤ self.transferAmount
- transferLaw : self.transferAmount = self.upperWeightBefore - self.upperWeightAfter
Instances For
Spectral weight transfer is equal and opposite between the two branches.
An ideal phase inversion on a selected state component.
- targetBefore : ℂ
- targetAfter : ℂ
- orthogonalBefore : ℂ
- orthogonalAfter : ℂ
- targetLaw : self.targetAfter = -self.targetBefore
- orthogonalLaw : self.orthogonalAfter = self.orthogonalBefore
Instances For
The two-dimensional Grover rotation model used for state preparation. The target and orthogonal amplitudes are the coordinates in the plane spanned by the initial and target states.
- overlap : ℝ
- overlap_nonnegative : 0 ≤ self.overlap
- overlap_le_one : self.overlap ≤ 1
- angle : ℝ
- iterationCount : ℕ
- targetAmplitude : ℝ
- orthogonalAmplitude : ℝ
- targetAmplitudeLaw : self.targetAmplitude = Real.sin (↑(2 * self.iterationCount + 1) * self.angle / 2)
- orthogonalAmplitudeLaw : self.orthogonalAmplitude = Real.cos (↑(2 * self.iterationCount + 1) * self.angle / 2)
- fidelity : ℝ
- fidelityLaw : self.fidelity = self.targetAmplitude ^ 2
Instances For
The ideal Grover output has nonnegative fidelity.
One Grover iteration reaches the target when the overlap angle is pi/3.
A Dicke-state overlap for a globally rotated product state. This is the finite version of the binomial overlap used to choose the Grover rotation angle.
- qubitCount : ℕ
- excitations : ℕ
- excitations_le_qubits : self.excitations ≤ self.qubitCount
- rotationAngle : ℝ
- overlapAmplitude : ℝ
- overlapLaw : self.overlapAmplitude = √↑(self.qubitCount.choose self.excitations) * Real.cos (self.rotationAngle / 2) ^ (self.qubitCount - self.excitations) * Real.sin (self.rotationAngle / 2) ^ self.excitations
Instances For
A cavity-QED phase oracle in the dispersive regime. The cavity frequency shift is proportional to the number of atoms in the coupled state, and a resonant reflected photon supplies the conditional sign flip.
- atomCavityCoupling : ℝ
- atomCavityCoupling_nonnegative : 0 ≤ self.atomCavityCoupling
- detuning : ℝ
- detuning_ne_zero : self.detuning ≠ 0
- dispersiveShift : ℝ
- dispersiveShiftLaw : self.dispersiveShift = self.atomCavityCoupling ^ 2 / self.detuning
- bareCavityFrequency : Units.Frequency
- bareCavityFrequency_pos : 0 < self.bareCavityFrequency.hz
- selectedExcitation : ℕ
- targetExcitation : ℕ
- shiftedCavityFrequency : Units.Frequency
- shiftedCavityFrequency_pos : 0 < self.shiftedCavityFrequency.hz
- shiftedFrequencyLaw : self.shiftedCavityFrequency.hz = self.bareCavityFrequency.hz + ↑self.selectedExcitation * self.dispersiveShift
- reflectedPhase : ℂ
- reflectedPhaseLaw : self.reflectedPhase = if self.selectedExcitation = self.targetExcitation then -1 else 1
Instances For
The dispersive cavity shift exposes the atom-number dependence.
The ideal phase oracle has unit-magnitude reflected phase.
Fidelity-scaling metadata for the finite-bandwidth cavity implementation.
The exponents record the paper's leading cooperativity scalings: unheralded
infidelity scales as C^(-1/2) and heralded infidelity as C^(-2/3).
- cooperativity : ℝ
- cooperativity_pos : 0 < self.cooperativity
- bandwidthRatio : ℝ
- bandwidthRatio_nonnegative : 0 ≤ self.bandwidthRatio
- unheraldedExponent : ℝ
- unheraldedExponentLaw : self.unheraldedExponent = 1 / 2
- heraldedExponent : ℝ
- heraldedExponentLaw : self.heraldedExponent = 2 / 3
- modeMatching : ℝ
- modeMatching_nonnegative : 0 ≤ self.modeMatching
- modeMatching_le_one : self.modeMatching ≤ 1
- heraldingSuccessProbability : ℝ
- heraldingSuccessProbability_nonnegative : 0 ≤ self.heraldingSuccessProbability
- heraldingSuccessProbability_le_one : self.heraldingSuccessProbability ≤ 1
Instances For
The unheralded leading cooperativity exponent is one half.
The heralded leading cooperativity exponent is two thirds.