One-step parity measurement of N cat-state qubits via reverse engineering and optimal control | Synapse