Question
Suppose I have $n$ qubits and $n-k$ stabilizer generators. Let the set of stabilizers be $S$. I then have $k$ logical qubits. Define $N(S)$ to be
$$N(S) = \{p \in P_n\ |\ sp = ps\ \forall s\in S\},$$
where $P_n$ is an $n$-qubit Pauli.
How many generators do I need for the group $N(S)$ and the quotient group $N(S)/S$?
My attempt:
We have $4^n$ elements in $P_n$ (ignoring phases). This is because for each qubit, I can have $I, X, Y$ or $Z$. I also have $2^{n-k}$ stabilizers. That leaves $2^{2n} - 2^{n-k}$ Paulis that I need to split between $N(S)$ and elements that are not in $N(S)$.