NLAlib.Ops.Machine.normalSample_div_sqrt_two
Library · theorem
On an ideal complex sample formed from two raw standard real Gaussian values, the mathematical sampler performs exactly the two scalar products executed on their rounded words.
NLAlib.Ops.Machine.normalSample_div_sqrt_two {K : Type} (M : Ops.Machine K) (roundGaussian : ℝ → K)
(a b : ℝ) :
M.normalSample roundGaussian { re := a / √2, im := b / √2 } =
M.normalWords (roundGaussian a) (roundGaussian b)Import NLAlib.Matrix.FinitePrecision.OpsSampling.