A multi-purpose optical chip which generates, manipulates and measures entanglement and mixture — two quantum phenomena which are essential driving forces for tomorrow’s quantum computers — has now been developed. This work represents an important step forward in the race to develop a quantum computer.