Measuring quantum errors without simulating perfect circuit outputs. — Synthesis