Physical platforms such as trapped ions suffer from coherent noise that does not follow a simple stochastic model. Stochastic errors in quantum systems occur randomly but coherent errors are more damaging since they can accumulate in a particular direction. We consider coherent noise acting transversally, giving rise to an effective error which is a
Z-rotation on each qubit by some angle$\theta
.Ratherthanaddresscoherentnoisethroughactiveerrorcorrection,weinvestigatepassivemitigationthroughdecoherencefreesubspaces.Inthelanguageofstabilizercodes,werequirethenoisetopreservethecodespace,andtoacttrivially(asthelogicalidentityoperator)ontheprotectedinformation.Thus,wedevelopnecessaryandsufficientconditionsforalltransversalZ$-rotations to preserve the code space of a stabilizer code. These conditions require the weight-
2 Z-stabilizers to cover all the qubits that are in the support of the
X-component of some stabilizer. Furthermore, the weight-
2 Z-stabilizers generate a direct product of single-parity-check codes with even block length. By adjusting the sizes of these components, we are able to construct a large family of QECC codes oblivious to coherent noise, one that includes the
[[4L2,1,2L]]Shor codes. The Shor codes are examples of constant excitation codes, where logical qubits are encoded as a code state that is a sum of physical states indexed by binary vectors with the same weight. Constant excitation codes are oblivious to coherent noise since a transversal
Z-rotation acts as a global phase. We prove that a CSS code is oblivious to coherent noise if and only if it is a constant excitation code, and that if the code is error-detecting, then the (constant) weights in different cosets of the
X-stabilizers are identical.