3D Quantum Cellular Automata Simulation

Rules:

Three-dimensional cubic grid of cells, each in a superposition of three possible states: charged, neutral, or anti-charged. The following rules apply:

  • Any cell with an even number of charged neighbors becomes neutral.
  • Any cell with an odd number of charged neighbors becomes charged.
  • Any cell with exactly three anti-charged neighbors becomes anti-charged.
  • Any anti-charged cell with more than five charged neighbors becomes charged.
  • All other cells maintain their current state.
Steps: 0