Simulation of quantum error correction with Mathematica. In this paper we consider the problem of quantum error correction and its simulation with the computer algebra system Mathematica. Basic ideas of constructing the quantum error correcting codes are discussed, and some examples of error correction by means of quantum circuits constructed with application of the Mathematica package QuantumCircuit are presented.