Cell state indicators and logic gates