A representation is introduced for the density operator of the electromagnetic field that is suitable for all density operators and that reduces to the coherent-state
P representation when the latter exists. It expresses the density operator $\ensuremath{\rho}$ as the sum of four terms, each of which is a two-dimensional weighted integral over outer products of coherent states. The first integral has the form of the
P representation, i.e., the outer products are projection operators. The absence of singularities in this term is achieved by the presence of the three supplementary integrals which vanish when the density operator possesses the
P representation. In general, for stationary density operators, only the first two terms of the regularized
P representation are necessary. A simple prescription is given for obtaining the four weight functions of this representation from the function $〈\ensuremath{\alpha}|\ensuremath{\rho}|\ensuremath{\alpha}〉$, where $|\ensuremath{\alpha}〉$ is a coherent state and $\ensuremath{\rho}$ is the density operator. According to this prescription, the
P representation does not exist and one or more of the supplementary, regularizing terms is necessary when the function $〈\ensuremath{\alpha}|\ensuremath{\rho}|\ensuremath{\alpha}〉$ contains a term that decreases more rapidly than $\mathrm{exp}(\ensuremath{-}{|\ensuremath{\alpha}|}^{2})$ as $|\ensuremath{\alpha}|\ensuremath{\rightarrow}\ensuremath{\infty}$. The regularized
P representation affords nonsingular integral expressions for all density operators and for most expectation values, including, when they are finite, those of the normally ordered products of the creation and annihilation operators, ${a}^{\ifmmode\dagger\else\textdagger\fi{}}$ and
a. The construction and use of this representation is illustrated with the aid of simple examples in which the density operator does not possess the
P representation.
Low Density Parity Check (LDPC) codes are specified by the parity check matrix H. Smaller girths in the Tanner graphs of LDPC codes prevent the sum-product algorithm from converging, i.e., short cycles in H-matrix degrade the performance of LDPC decoder. In this paper, we present an algorithm for constructing LDPC codes without short cycles. The H-matrix must be sufficiently sparse to increase the girth of a code. In this work, we present a simple method to increase the sparsity of matrix and provide lemmas to avoid short cycles of lengths 4 and 6. We design sub-matrices for column-weight two and column-weight three codes. This design makes use of a simple shifting function given by the proposed scheme. These are then combined into a final H-matrix using Gray code representations. The proposed method provides structured, regular codes with flexibility in code rates and code lengths. The regularity of these codes gives the advantages like simplicity of hardware implementation and fast encoding. Key words LDPC codes, Tanner Graph, Girth, Gray codes