quantum grammar