The codeword stabilized (CWS) framework provides a systematic method for constructing quantum error correcting codes from a simple undirected graph and a classical code. When the underlying classical code is linear, the resulting quantum code is a stabilizer code. In this work, we investigate the conditions under which an arbitrary
[n,k,d] classical binary linear code can be lifted to an
[[n,k,d]] quantum stabilizer code using the CWS framework. We analyze the random CWS code constructed from a given
[n,k,d] binary linear code
C and an Erdős-Rényi random graph
G(n,21). We establish a lower bound on the probability that the resulting quantum code preserves the minimum distance
d of the classical code. This probabilistic analysis yields a Gilbert-Varshamov-type condition on the
n,k,d parameters of the classical code that guarantees the existence of a graph resulting in a quantum code with the same
n,k,d parameters.
In this research, we propose a novel construction of quantum stabilizer code based on a binary formalism. First, from any binary vector of even length, we generate the parity-check matrix of the quantum code from a set composed of elements from this vector and its relations by shifts via subtraction and addition. We prove that the proposed matrices satisfy the condition constraint for the construction of quantum codes. Finally, we consider some constraint vectors which give us quantum stabilizer codes with various dimensions and a large minimum distance with code length from six to twelve digits.
Calderbank--Shor--Steane (CSS) codes support decoding and fault-tolerant logical operations through separate pure
X and pure
Z stabilizer checks. Generator choices and single-qubit Clifford transformations can obscure this structure. We give a deterministic polynomial-time algorithm that decides whether an arbitrary stabilizer code is locally Clifford-equivalent to a CSS code and constructs the required transformation and CSS checks whenever such a form exists. For
m possibly redundant generator rows on
n qubits, the algorithm uses
O(mn2+n4) binary field operations. We reduce the problem to affine linear systems by characterizing local projectors that preserve the span of the binary stabilizer labels. The conversion preserves code parameters and check sparsity for quantum low-density parity-check (qLDPC) codes. We demonstrate CSS recovery and decoder reuse and resolve previously open LC-to-CSS classification questions for published code constructions. For graph states, LC-to-CSS equivalence corresponds to the existence of a bipartite graph in the local-complementation orbit. We derive a necessary-and-sufficient adjacency-matrix criterion for this property and construct such a graph whenever one exists. Our algorithm makes CSS decoding and fault-tolerant constructions accessible throughout the local Clifford equivalence classes of CSS codes.