Quantum Grammar