Provided herein may be a circuit for transforming a parity-check matrix of a Quasi-Cyclic Low-Density Parity-Check (QC-LDPC) code, an error correction circuit having the same, and a method of operating the same. The circuit for transforming a parity check matrix of a QC-LDPC code including circulant matrices may include a determination component configured to determine whether a parity-check matrix that is externally input has full rank, a selection component configured to detect linearly dependent rows or columns, among rows or columns of the parity-check matrix based on a result of the determination of the determination component, and select any one row or column from among the linearly dependent rows or columns, and an entry replacement component configured to replace any one of circulant matrices included in the selected one row or column with a zero matrix.
展开▼