Scientists have discovered that stretching or compressing diamond crystals can precisely tune the quantum states of silicon-vacancy defects.