Qx.ParameterError exception (Qx - Quantum Computing Simulator v0.10.1)
View SourceRaised when a gate parameter (rotation angle or phase) is not a number.
Carries the offending :value so callers can pattern-match on the cause
rather than parsing the message.
Unlike the other exceptions in this file, Qx.ParameterError intentionally
omits the exception(message) when is_binary fallback: a plain string is
itself a valid non-numeric parameter (e.g. Qx.rx(qc, 0, "bad")), so every
value — binaries included — is captured in :value, never treated as a
pre-formatted message.