ASPBE Lean Blueprint

10.54. QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean🔗

38 explicit public declarations, in source order.

Definition10.54.1
uses 0used by 0L∃∀N

Plain-English reading. This abbreviation gives a shorter name to the type or expression used for “bell amplitude”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. abbrev.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:22. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.11 definition
Definition10.54.2
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “bell state”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:25. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.21 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.bellState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 2) 
    def QuantumBlockEncoding.StatePreparationBenchmarks.bellState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 2) 
Definition10.54.3
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “bell target”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:28. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.31 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget :
      QuantumBlockEncoding.StatePreparationTarget  2
    def QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget :
      QuantumBlockEncoding.StatePreparationTarget
         2
Theorem10.54.4
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “bell target normalized”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:33. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.41 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget.normalization
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget.normalization
Definition10.54.5
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “bell matrix”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:41. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.51 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 2) (QuantumBlockEncoding.gridSize 2)
        
    def QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 2)
        (QuantumBlockEncoding.gridSize 2) 
Theorem10.54.6
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “star bell matrix”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:54. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.61 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.star_bellMatrix :
      star QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix =
        QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.star_bellMatrix :
      star
          QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix =
        QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix
Theorem10.54.7
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “bell matrix unitary”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:59. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.71 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix 
        Matrix.unitaryGroup (Fin (QuantumBlockEncoding.gridSize 2)) 
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix 
        Matrix.unitaryGroup
          (Fin
            (QuantumBlockEncoding.gridSize 2))
          
Definition10.54.8
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “bell gate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:70. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.81 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.bellGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate 2
    def QuantumBlockEncoding.StatePreparationBenchmarks.bellGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate
        2
Theorem10.54.9
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “bell matrix prepares target”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:74. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.91 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet 2) =
        QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget.amplitudes
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.bellMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet
            2) =
        QuantumBlockEncoding.StatePreparationBenchmarks.bellTarget.amplitudes
Definition10.54.10
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “bell certificate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:81. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.101 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.bellCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        2
    def QuantumBlockEncoding.StatePreparationBenchmarks.bellCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        2
Definition10.54.11
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “mottonen dense state”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:89. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.111 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 2) 
    def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 2) 
Definition10.54.12
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “mottonen dense target”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:96. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.121 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget :
      QuantumBlockEncoding.StatePreparationTarget  2
    def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget :
      QuantumBlockEncoding.StatePreparationTarget
         2
Theorem10.54.13
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “mottonen dense target normalized”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:101. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.131 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget.normalization
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget.normalization
Definition10.54.14
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “mottonen dense matrix”. Rational quaternion completion with first column '(39,52,60,144)/169'.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. Rational quaternion completion with first column '(39,52,60,144)/169'.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:107. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.141 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 2) (QuantumBlockEncoding.gridSize 2)
        
    def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 2)
        (QuantumBlockEncoding.gridSize 2) 
    Rational quaternion completion with first column `(39,52,60,144)/169`. 
Theorem10.54.15
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “mottonen dense matrix unitary”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:127. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.151 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix 
        Matrix.unitaryGroup (Fin (QuantumBlockEncoding.gridSize 2)) 
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix 
        Matrix.unitaryGroup
          (Fin
            (QuantumBlockEncoding.gridSize 2))
          
Definition10.54.16
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “mottonen dense gate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:139. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.161 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate 2
    def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate
        2
Theorem10.54.17
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “mottonen dense matrix prepares target”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:143. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.171 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet 2) =
        QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget.amplitudes
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet
            2) =
        QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseTarget.amplitudes
Definition10.54.18
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “mottonen dense certificate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:151. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.181 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        2
    def QuantumBlockEncoding.StatePreparationBenchmarks.mottonenDenseCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        2
Definition10.54.19
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “grover rudolph product state”. Rational quaternion completion with first column '(39,52,60,144)/169'.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. Rational quaternion completion with first column '(39,52,60,144)/169'. -/ noncomputable def mottonenDenseMatrix : FiniteMatrix (gridSize 2) (gridSize 2) ℂ := fun row column => match row.val, column.val with | 0, 0 => (39 : ℂ) / 169 | 0, 1 => -(52 : ℂ) / 169 | 0, 2 => -(60 : ℂ) / 169 | 0, 3 => -(144 : ℂ) / 169 | 1, 0 => (52 : ℂ) / 169 | 1, 1 => (39 : ℂ) / 169 | 1, 2 => -(144 : ℂ) / 169 | 1, 3 => (60 : ℂ) / 169 | 2, 0 => (60 : ℂ) / 169 | 2, 1 => (144 : ℂ) / 169 | 2, 2 => (39 : ℂ) / 169 | 2, 3 => -(52 : ℂ) / 169 | 3, 0 => (144 : ℂ) / 169 | 3, 1 => -(60 : ℂ) / 169 | 3, 2 => (52 : ℂ) / 169 | _, _ => (39 : ℂ) / 169 theorem mottonenDenseMatrix_unitary : mottonenDenseMatrix ∈ _root_.Matrix.unitaryGroup (Fin (gridSize 2)) ℂ := by rw [_root_.Matrix.mem_unitaryGroup_iff'] ext row column fin_cases row <;> fin_cases column <;> rw [_root_.Matrix.mul_apply, Finset.sum_fin_eq_sum_range] <;> norm_num [mottonenDenseMatrix, Finset.sum_range_succ, gridSize, _root_.Matrix.star_apply] <;> simp only [starRingEnd_apply, star_ofNat] <;> norm_num noncomputable def mottonenDenseGate : ComplexUnitaryGate 2 where matrix := mottonenDenseMatrix unitary := mottonenDenseMatrix_unitary theorem mottonenDenseMatrix_prepares_target : applyVec mottonenDenseMatrix (zeroKet 2) = mottonenDenseTarget.amplitudes := by rw [applyVec_zeroKet] change mottonenDenseMatrix.col (0 : Fin 4) = mottonenDenseState funext row fin_cases row <;> norm_num [mottonenDenseMatrix, mottonenDenseState] noncomputable def mottonenDenseCertificate : ComplexStatePreparationCertificate 2 where target := mottonenDenseTarget gate := mottonenDenseGate normalizationProof := mottonenDenseTarget_normalized preparationProof := mottonenDenseMatrix_prepares_target /-! number number Structured Grover--Rudolph-style product distribution

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:160. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.191 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 2) 
    def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 2) 
Definition10.54.20
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “grover rudolph product target”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:168. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.201 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget :
      QuantumBlockEncoding.StatePreparationTarget  2
    def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget :
      QuantumBlockEncoding.StatePreparationTarget
         2
Theorem10.54.21
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “grover rudolph product target normalized”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:173. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.211 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget.normalization
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget.normalization
Definition10.54.22
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “grover rudolph product matrix”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:180. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.221 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 2) (QuantumBlockEncoding.gridSize 2)
        
    def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 2)
        (QuantumBlockEncoding.gridSize 2) 
Theorem10.54.23
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “grover rudolph product matrix unitary”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:200. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.231 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix 
        Matrix.unitaryGroup (Fin (QuantumBlockEncoding.gridSize 2)) 
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix 
        Matrix.unitaryGroup
          (Fin
            (QuantumBlockEncoding.gridSize 2))
          
Definition10.54.24
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “grover rudolph product gate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:212. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.241 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate 2
    def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate
        2
Theorem10.54.25
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “grover rudolph product matrix prepares target”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:216. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.251 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet 2) =
        QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget.amplitudes
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet
            2) =
        QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductTarget.amplitudes
Definition10.54.26
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “grover rudolph product certificate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:225. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.261 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        2
    def QuantumBlockEncoding.StatePreparationBenchmarks.groverRudolphProductCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        2
Definition10.54.27
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “sparse three state”. Rational quaternion completion with first column '(39,52,60,144)/169'.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. Rational quaternion completion with first column '(39,52,60,144)/169'. -/ noncomputable def mottonenDenseMatrix : FiniteMatrix (gridSize 2) (gridSize 2) ℂ := fun row column => match row.val, column.val with | 0, 0 => (39 : ℂ) / 169 | 0, 1 => -(52 : ℂ) / 169 | 0, 2 => -(60 : ℂ) / 169 | 0, 3 => -(144 : ℂ) / 169 | 1, 0 => (52 : ℂ) / 169 | 1, 1 => (39 : ℂ) / 169 | 1, 2 => -(144 : ℂ) / 169 | 1, 3 => (60 : ℂ) / 169 | 2, 0 => (60 : ℂ) / 169 | 2, 1 => (144 : ℂ) / 169 | 2, 2 => (39 : ℂ) / 169 | 2, 3 => -(52 : ℂ) / 169 | 3, 0 => (144 : ℂ) / 169 | 3, 1 => -(60 : ℂ) / 169 | 3, 2 => (52 : ℂ) / 169 | _, _ => (39 : ℂ) / 169 theorem mottonenDenseMatrix_unitary : mottonenDenseMatrix ∈ _root_.Matrix.unitaryGroup (Fin (gridSize 2)) ℂ := by rw [_root_.Matrix.mem_unitaryGroup_iff'] ext row column fin_cases row <;> fin_cases column <;> rw [_root_.Matrix.mul_apply, Finset.sum_fin_eq_sum_range] <;> norm_num [mottonenDenseMatrix, Finset.sum_range_succ, gridSize, _root_.Matrix.star_apply] <;> simp only [starRingEnd_apply, star_ofNat] <;> norm_num noncomputable def mottonenDenseGate : ComplexUnitaryGate 2 where matrix := mottonenDenseMatrix unitary := mottonenDenseMatrix_unitary theorem mottonenDenseMatrix_prepares_target : applyVec mottonenDenseMatrix (zeroKet 2) = mottonenDenseTarget.amplitudes := by rw [applyVec_zeroKet] change mottonenDenseMatrix.col (0 : Fin 4) = mottonenDenseState funext row fin_cases row <;> norm_num [mottonenDenseMatrix, mottonenDenseState] noncomputable def mottonenDenseCertificate : ComplexStatePreparationCertificate 2 where target := mottonenDenseTarget gate := mottonenDenseGate normalizationProof := mottonenDenseTarget_normalized preparationProof := mottonenDenseMatrix_prepares_target /-! number number Structured Grover--Rudolph-style product distribution -/ noncomputable def groverRudolphProductState : StateVector (gridSize 2) ℂ := fun index => match index.val with | 0 => (9 : ℂ) / 25 | 1 => (12 : ℂ) / 25 | 2 => (12 : ℂ) / 25 | _ => (16 : ℂ) / 25 noncomputable def groverRudolphProductTarget : StatePreparationTarget ℂ 2 where amplitudes := groverRudolphProductState normalization := ∑ index, Complex.normSq (groverRudolphProductState index) = 1 source := "Grover--Rudolph structured product-distribution benchmark" theorem groverRudolphProductTarget_normalized : groverRudolphProductTarget.normalization := by change ∑ index : Fin 4, Complex.normSq (groverRudolphProductState index) = 1 rw [Finset.sum_fin_eq_sum_range] norm_num [groverRudolphProductState, Complex.normSq_apply, Finset.sum_range_succ] noncomputable def groverRudolphProductMatrix : FiniteMatrix (gridSize 2) (gridSize 2) ℂ := fun row column => match row.val, column.val with | 0, 0 => (9 : ℂ) / 25 | 0, 1 => -(12 : ℂ) / 25 | 0, 2 => -(12 : ℂ) / 25 | 0, 3 => (16 : ℂ) / 25 | 1, 0 => (12 : ℂ) / 25 | 1, 1 => (9 : ℂ) / 25 | 1, 2 => -(16 : ℂ) / 25 | 1, 3 => -(12 : ℂ) / 25 | 2, 0 => (12 : ℂ) / 25 | 2, 1 => -(16 : ℂ) / 25 | 2, 2 => (9 : ℂ) / 25 | 2, 3 => -(12 : ℂ) / 25 | 3, 0 => (16 : ℂ) / 25 | 3, 1 => (12 : ℂ) / 25 | 3, 2 => (12 : ℂ) / 25 | _, _ => (9 : ℂ) / 25 theorem groverRudolphProductMatrix_unitary : groverRudolphProductMatrix ∈ _root_.Matrix.unitaryGroup (Fin (gridSize 2)) ℂ := by rw [_root_.Matrix.mem_unitaryGroup_iff'] ext row column fin_cases row <;> fin_cases column <;> rw [_root_.Matrix.mul_apply, Finset.sum_fin_eq_sum_range] <;> norm_num [groverRudolphProductMatrix, Finset.sum_range_succ, gridSize, _root_.Matrix.star_apply] <;> simp only [starRingEnd_apply, star_ofNat] <;> norm_num noncomputable def groverRudolphProductGate : ComplexUnitaryGate 2 where matrix := groverRudolphProductMatrix unitary := groverRudolphProductMatrix_unitary theorem groverRudolphProductMatrix_prepares_target : applyVec groverRudolphProductMatrix (zeroKet 2) = groverRudolphProductTarget.amplitudes := by rw [applyVec_zeroKet] change groverRudolphProductMatrix.col (0 : Fin 4) = groverRudolphProductState funext row fin_cases row <;> norm_num [groverRudolphProductMatrix, groverRudolphProductState] noncomputable def groverRudolphProductCertificate : ComplexStatePreparationCertificate 2 where target := groverRudolphProductTarget gate := groverRudolphProductGate normalizationProof := groverRudolphProductTarget_normalized preparationProof := groverRudolphProductMatrix_prepares_target /-! number number Fixed three-sparse benchmark

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:234. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.271 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 3) 
    def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeState :
      QuantumBlockEncoding.ConcreteSemantics.StateVector
        (QuantumBlockEncoding.gridSize 3) 
Definition10.54.28
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “sparse three target”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:240. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.281 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget :
      QuantumBlockEncoding.StatePreparationTarget  3
    def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget :
      QuantumBlockEncoding.StatePreparationTarget
         3
Theorem10.54.29
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “sparse three target normalized”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:245. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.291 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget.normalization
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget_normalized :
      QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget.normalization
Definition10.54.30
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “sparse three matrix”. Rational orthogonal completion on rows '0,2,4', identity on the complement.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. Rational orthogonal completion on rows '0,2,4', identity on the complement.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:251. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.301 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 3) (QuantumBlockEncoding.gridSize 3)
        
    def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix :
      QuantumBlockEncoding.ConcreteSemantics.FiniteMatrix
        (QuantumBlockEncoding.gridSize 3)
        (QuantumBlockEncoding.gridSize 3) 
    Rational orthogonal completion on rows `0,2,4`, identity on the complement. 
Theorem10.54.31
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “sparse three matrix unitary”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:271. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.311 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix 
        Matrix.unitaryGroup (Fin (QuantumBlockEncoding.gridSize 3)) 
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix_unitary :
      QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix 
        Matrix.unitaryGroup
          (Fin
            (QuantumBlockEncoding.gridSize 3))
          
Definition10.54.32
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “sparse three gate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:283. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.321 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate 3
    def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeGate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexUnitaryGate
        3
Theorem10.54.33
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “sparse three matrix prepares target”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:287. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.331 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet 3) =
        QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget.amplitudes
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix_prepares_target :
      QuantumBlockEncoding.ConcreteSemantics.applyVec
          QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeMatrix
          (QuantumBlockEncoding.ConcreteSemantics.zeroKet
            3) =
        QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeTarget.amplitudes
Definition10.54.34
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “sparse three certificate”.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:294. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.341 definition
  • def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        3
    def QuantumBlockEncoding.StatePreparationBenchmarks.sparseThreeCertificate :
      QuantumBlockEncoding.ConcreteSemantics.ComplexStatePreparationCertificate
        3
Definition10.54.35
uses 0used by 0L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “select swap clean t count”. Rational orthogonal completion on rows '0,2,4', identity on the complement.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. Rational orthogonal completion on rows '0,2,4', identity on the complement. -/ noncomputable def sparseThreeMatrix : FiniteMatrix (gridSize 3) (gridSize 3) ℂ := fun row column => match row.val, column.val with | 0, 0 => (3 : ℂ) / 13 | 0, 1 => -(4 : ℂ) / 5 | 0, 2 => -(36 : ℂ) / 65 | 2, 0 => (4 : ℂ) / 13 | 2, 1 => (3 : ℂ) / 5 | 2, 2 => -(48 : ℂ) / 65 | 4, 0 => (12 : ℂ) / 13 | 4, 1 => 0 | 4, 2 => (25 : ℂ) / 65 | 1, 3 => 1 | 3, 4 => 1 | 5, 5 => 1 | 6, 6 => 1 | 7, 7 => 1 | _, _ => 0 set_option maxHeartbeats 1000000 in theorem sparseThreeMatrix_unitary : sparseThreeMatrix ∈ _root_.Matrix.unitaryGroup (Fin (gridSize 3)) ℂ := by rw [_root_.Matrix.mem_unitaryGroup_iff'] ext row column fin_cases row <;> fin_cases column <;> rw [_root_.Matrix.mul_apply, Finset.sum_fin_eq_sum_range] <;> norm_num [sparseThreeMatrix, Finset.sum_range_succ, gridSize, _root_.Matrix.star_apply] <;> simp only [starRingEnd_apply, star_ofNat] <;> norm_num noncomputable def sparseThreeGate : ComplexUnitaryGate 3 where matrix := sparseThreeMatrix unitary := sparseThreeMatrix_unitary theorem sparseThreeMatrix_prepares_target : applyVec sparseThreeMatrix (zeroKet 3) = sparseThreeTarget.amplitudes := by rw [applyVec_zeroKet] change sparseThreeMatrix.col (0 : Fin 8) = sparseThreeState funext row fin_cases row <;> norm_num [sparseThreeMatrix, sparseThreeState] noncomputable def sparseThreeCertificate : ComplexStatePreparationCertificate 3 where target := sparseThreeTarget gate := sparseThreeGate normalizationProof := sparseThreeTarget_normalized preparationProof := sparseThreeMatrix_prepares_target /-! number number Low--Kliuchnikov--Schaeffer SelectSwap resource arithmetic

Declaration kind. def.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:302. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition10.54.351 definition
Theorem10.54.36
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “select swap clean t count 16 1 1”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:305. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.361 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount_16_1_1 :
      QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 1 =
        72
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount_16_1_1 :
      QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 1 =
        72
Theorem10.54.37
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “select swap clean t count 16 1 4”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:308. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.371 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount_16_1_4 :
      QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 4 =
        48
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount_16_1_4 :
      QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 4 =
        48
Theorem10.54.38
uses 0used by 0L∃∀N

Plain-English reading. Lean checks the proposition indexed as “select swap clean t count lambda 4 better lambda 1”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Paper-facing backend models, source-specific Hermite constructions, and concrete State Preparation / Robin example artifacts.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/StatePreparationBenchmarksCoreFixed.lean:311. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem10.54.381 theorem
  • theorem QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount_lambda4_better_lambda1 :
      QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 4 <
        QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 1
    theorem QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount_lambda4_better_lambda1 :
      QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 4 <
        QuantumBlockEncoding.StatePreparationBenchmarks.selectSwapCleanTCount
          16 1 1