Using symbolic and agentic tools, a new decomposition of a fundamental quantum circuit building block reduces the number of CNOT gates from 13 to 12 while also significantly decreasing circuit depth.