In this paper, we introduce a
Q_2^n\left( x \right)
matrix, whose elements are balancing polynomials, and develop a new coding and decoding method following from the
Q_2^n\left( x \right)
matrix. We establish the relations between the code matrix elements, error detection and correction for this coding theory.