I am attempting to perform a CNOT between two surface code qubits in Stim, based on this paper by Daniel Litinski and Felix von Oppen.
The CNOT they perform is shown in the figure below (Figure 3 from the paper).
In Stim, how do I go about obtaining the parity of the $ZZ$ and $XX$ measurements? Following this, how would one apply Pauli gates controlled by these parities in Stim?