Statistics Kullback-Leibler Divergence ByJu Yeon Eum August 20, 2025October 12, 2026 An optimal code for P costs 1 bit; a code for Q costs 1.736966 on samples from P. The 0.736966 gap is the KL.