Qx.RegisterError exception (Qx - Quantum Computing Simulator v0.10.1)
View SourceRaised when register construction receives invalid input.
Carries a :reason describing the cause so callers can pattern-match
rather than parsing the message:
:empty— the input list was empty.{:invalid_qubit, qubit}— a list element was not a normalized 2-element qubit tensor.{:invalid_input, value}— a renderer expected a register struct orNx.Tensorand got something else.