Documentation

MIPRE.Background.QLD.PauliAnswerPrograms

Faithful type-directed Pauli answer parsing #

The exact question type is retained. Only the answer shape is shared by types with identical formats. Counts are checked before any field table is allocated; in particular the full Pauli count stays binary. The degree is supplied in unary (and is the fixed constant one in the introspection application).

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MIPRE.QLD.PauliAnswerProgram.parser_flatten (T : Ty) (m k d : Cost.Unary) (rows : List Cost.BitStr) (hk : 0 < width T (List.length k)) (hn : rows.length = count T (List.length m) (List.length d)) (hw : ∀ row ∈ rows, List.length row = width T (List.length k)) :
          parser.toFun (T, m, k, d, rows.flatten) = (true, rows)

          Every canonical payload is returned exactly, including the unit-width bit rows.