This computes and plots 127 steps of the evolution of 150R (the reversible version of rule 150).
ArrayPlot[
CellularAutomaton[{Mod[Total[Flatten[#]], 2] &, {}, {{-1,
0}, {0, -1}, {0, 0}, {0, 1}}, 2}, {{{1}, {1}}, 0}, 127]]
This example appears as part of the documentation of CellularAutomaton
. How can I compute the evolution of other reversible rules, like 37R, 90R, etc.?
Edit: Below is an image showing the transition functions of both rule 150 and 150R.
rule 150
rule 150R
Rule 150R does a XOR between the regular output of rule 150 for $t+1$ and the state of the cell at $t-1$. Other reversible CA have the same bit-flip behavior when $t-1$ is 1.