Define the search space
Give the assistant the circuit, allowed gates, permitted qubit pairs and the cost to reduce. A prompt asking for fewer controlled operations leads to a different search from one that minimizes depth on a specific coupling map. Recording the objective makes proposals comparable.
Keep the evidence next to the proposal
Store the original and candidate circuit together. For a small unitary circuit, compare every computational basis input up to global phase and log the tolerance. For a larger parameterized family, isolate the local identity that justifies the rewrite or state a proof obligation that a verifier can handle.
A failed check is often informative. Ask whether the circuit changed relative phase, moved a control or merely used a different wire ordering. Pass only the information the reviewer needs.
Track success by acceptance
Count proposals that pass checks and improve the chosen cost. Include cases where the right answer is to keep the current circuit. An evaluation set with trivial identities, near misses and connectivity constraints gives a clearer picture of an assistant’s value than raw suggestion count.