\(x+y+z=0\)
\(\Leftrightarrow\)\(\left(x+y+z\right)^2=0\)
\(\Leftrightarrow\)\(x^2+y^2+z^2+2\left(xy+yz+xz\right)=0\)
\(\Leftrightarrow\)\(x^2+y^2+z^2=0\) (vì xy + yz + xz = 0)
\(\Rightarrow\)\(x=y=z=0\)
Vậy \(Q=\left(x-1\right)^{2018}+\left(y-1\right)^{2019}+\left(z-1\right)^{2020}=1\)