Quantum-gate characterization in an extended Hilbert space | Synapse