  The implementation of logical operations on polarization-encoded x-rays via
resonant light-nucleus interactions is theoretically investigated. We show that
by means of resonant scattering off nuclei and fast rotations of the nuclear
hyperfine magnetic field to control the polarization of the output photon,
single-qubit logical gates can be simulated. A second control qubit may be
employed to trigger the magnetic field rotation, thus allowing several
implementation choices for a controlled NOT gate for x-ray photons.
