Averages over the odd pairs of bit strings #
Rigidity arguments for Pauli operators average over the pairs (a, b) of bit strings with
a · b = 1, the odd pairs, on which X(a) and Z(b) anticommute. The masked average
oddExpect f = E_{a,b} [a · b = 1] f(a, b) (Cslib.BitString.oddExpect) averages f over all
pairs with the even pairs set to 0. It is the density (1 - 2⁻ⁿ) / 2 of the odd pairs times the
conditional average over them (Cslib.BitString.oddExpect_eq_dens_smul,
Cslib.BitString.dens_oddPairs); for n = 0 there are no odd pairs and it is 0. It is monotone
and linear on the odd pairs (Cslib.BitString.oddExpect_mono, Cslib.BitString.oddExpect_add,
Cslib.BitString.oddExpect_const_mul). Each coordinate marginal is half the uniform
average with the zero string masked out (Cslib.BitString.oddExpect_fst,
Cslib.BitString.oddExpect_snd).
A nonzero a has a · c = 1 for exactly half of the c, so a bound holding for every such c
holds for twice the masked average over c: if g ≤ h(c) whenever a · c = 1, then
g ≤ 2 E_c [a · c = 1] h(c) (Cslib.BitString.le_two_mul_expect_ite_of_forall). This turns
pointwise estimates through an auxiliary odd string c into averaged ones.
Main definitions #
Cslib.BitString.oddPairs: the odd pairs.Cslib.BitString.oddExpect: the masked average over the odd pairs.
Main results #
Cslib.BitString.oddExpect_eq_dens_smul,Cslib.BitString.dens_oddPairs: the masked average is(1 - 2⁻ⁿ) / 2times the conditional average over the odd pairs.Cslib.BitString.le_two_mul_expect_ite_of_forall: a bound over the stringscwitha · c = 1bounds twice the masked average.
A nonzero bit string gives a bound holding on its odd partners, which then holds for twice the masked average over all partners.
The odd pairs (a, b) of bit strings, with a · b = 1.
A nonempty index type has an odd pair: take the same one-hot string twice.
The odd pairs have density (1 - 2⁻ⁿ) / 2 among all pairs of n-bit strings; for n = 0 there
are none.
The masked average over the odd pairs: E_{a,b} [a · b = 1] f(a, b).
At most half of all pairs have odd inner product.
The masked average is the density of the odd pairs times the conditional average over them.
The masked average is the density times the uniform average on the subtype of odd pairs.
The first marginal of the masked odd-pair average is half the uniform average with the zero string removed by a mask.
Recover the uniform average from the masked first marginal and the contribution at zero.