A Z-channel is a communications channel used in coding theory and information theory to model the behaviour of some data storage systems.
Contents
Definition
A Z-channel (or a binary asymmetric channel) is a channel with binary input and binary output where the crossover 1 → 0 occurs with nonnegative probability p, whereas the crossover 0 → 1 never occurs. In other words, if X and Y are the random variables describing the probability distributions of the input and the output of the channel, respectively, then the crossovers of the channel are characterized by the conditional probabilities
Prob{Y = 0 | X = 0} = 1Prob{Y = 0 | X = 1} = pProb{Y = 1 | X = 0} = 0Prob{Y = 1 | X = 1} = 1−pCapacity
The capacity                                           
where                                           
The maximum is attained for
yielding the following value of                                           
For small p, the capacity is approximated by
as compared to the capacity                     
Bounds on the size of an asymmetric-error-correcting code
Define the following distance function                     
Define the sphere                     
A code                                           
The Varshamov bound. For n≥1 and t≥1,
The constant-weight code bound. For n > 2t ≥ 2, let the sequence B0, B1, ..., Bn-2t-1 be defined as
Then                     
