In-place amplitude overwrite hazard
An in-place amplitude overwrite hazard arises when one member of a gate's amplitude pair is updated before its original value has been saved for computing the other member.
On this page
Scientific definition and boundary
An in-place amplitude overwrite hazard arises when one member of a gate's amplitude pair is updated before its original value has been saved for computing the other member. The resulting array no longer equals the matrix action. Temporary variables or an equivalent safe update order prevent the error. Renormalizing the corrupted vector cannot generally restore the missing phase and amplitude relationships.
Sources
Verification scope
Recorded source check ·
Simulation guide retrieved; explicit qubit_order semantics and distinction between state and measurement output inspected.
Conceptual reference semantics only. No code execution or universal backend support claim.