$\newcommand{\ket}[1]{\lvert #1 \rangle}$I've met a problem in quantum secret sharing which involves the use of a quantum error-correction code. (let's make it simple to be the 9-qubit Shor code)
In the Shor code, Alice encodes $\ket{0}$ as $(\ket{000}+\ket{111})^3$, and $\ket{1}$ as $(\ket{000}-\ket{111})^3$, so the code can fight against 1-qubit flip or phase error, and recover the original qubit.
However, what I'm wondering is:
What becomes of the 9 qubits after measurement? Do they become the original 1 logical qubit? Or do they stay as 9 entangled qubits?
What would happen if Bob, the one who decodes the code, actually has a slightly different orthogonal basis than the original one due to imperfect knowledge or experimental error, e.g. Bob is measuring with $\ket{0'}=\cos(x)\ket{0}+\sin(x)\ket{1}$ and $\ket{1'}=-\sin(x)\ket{0}+\cos(x)\ket{1}$ but $x$ is small? (Or, let's say he is really unlucky and mistook Alice's $\ket{0}$ and $\ket{1}$ basis entirely, so he uses $\ket{+}$ and $\ket{-}$ basis, then Bell basis for him would become $\ket{+++} + \ket{---}$
When $x$ is small, would he still be able to decode out the original qubit using the "wrong" Bell basis? And would there be some way to calculate the error probability?