9.2. QuantumBlockEncoding/CubicStatePreparation.lean
269 explicit public declarations, in source order.
Plain-English reading. This definition gives the library's named construction or computation for “task id”. Task identifier used by the retrieval and verifier ledgers.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Task identifier used by the retrieval and verifier ledgers.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:25. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.1●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.taskId : String
def QuantumBlockEncoding.CubicStatePreparation.taskId : String
Task identifier used by the retrieval and verifier ledgers.
Plain-English reading. This definition gives the library's named construction or computation for “requested epsilon”. User-requested error tolerance '1e-10'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. User-requested error tolerance '1e-10'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:28. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.2●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.requestedEpsilon : ℚ
def QuantumBlockEncoding.CubicStatePreparation.requestedEpsilon : ℚ
User-requested error tolerance `1e-10`.
Plain-English reading. This definition gives the library's named construction or computation for “grid point”. Grid point 'x_j = j / 2^n'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Grid point 'x_j = j / 2^n'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:31. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.3●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.gridPoint (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ℚ
def QuantumBlockEncoding.CubicStatePreparation.gridPoint (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ℚ
Grid point `x_j = j / 2^n`.
Plain-English reading. This definition gives the library's named construction or computation for “cubic amplitude”. Cubic amplitude 'f(x_j) = x_j^3'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Cubic amplitude 'f(x_j) = x_j^3'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:35. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.4●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ℚ
def QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ℚ
Cubic amplitude `f(x_j) = x_j^3`.
Plain-English reading. This definition gives the library's named construction or computation for “cubic operator”. The rank-one operator 'O_n = |v_n><0^n|'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The rank-one operator 'O_n = |v_n><0^n|'. In column-vector convention this maps the input basis state '|0^n>' to the unnormalized vector with entries '(j / 2^n)^3', and maps every other input basis state to zero.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:43. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.5●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.cubicOperator (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
def QuantumBlockEncoding.CubicStatePreparation.cubicOperator (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
The rank-one operator `O_n = |v_n><0^n|`. In column-vector convention this maps the input basis state `|0^n>` to the unnormalized vector with entries `(j / 2^n)^3`, and maps every other input basis state to zero.
Plain-English reading. This definition gives the library's named construction or computation for “cubic norm sq”. Exact rational squared norm of the unnormalized target vector.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Exact rational squared norm of the unnormalized target vector. The analytic normalizer is its square root; this rational quantity is the cheap diagnostic used before any approximate rotation-synthesis route is accepted.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:51. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.6●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.cubicNormSq (n : ℕ) : ℚ
def QuantumBlockEncoding.CubicStatePreparation.cubicNormSq (n : ℕ) : ℚ
Exact rational squared norm of the unnormalized target vector. The analytic normalizer is its square root; this rational quantity is the cheap diagnostic used before any approximate rotation-synthesis route is accepted.
Plain-English reading. This definition gives the library's named construction or computation for “conservative normalizer”. A conservative rational normalizer.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. A conservative rational normalizer. It is not intended to be optimal; it is a stable placeholder until the approximate synthesis backend proves a sharper normalizer and error bound.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:60. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.7●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.conservativeNormalizer (n : ℕ) : ℚ
def QuantumBlockEncoding.CubicStatePreparation.conservativeNormalizer (n : ℕ) : ℚ
A conservative rational normalizer. It is not intended to be optimal; it is a stable placeholder until the approximate synthesis backend proves a sharper normalizer and error bound.
Plain-English reading. This definition gives the library's named construction or computation for “cubic target”. Operator-first target record used by the ABEIS harness.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Operator-first target record used by the ABEIS harness.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:64. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.8●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.cubicTarget (n : ℕ) : QuantumBlockEncoding.QueryOperatorTarget ℚ (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicStatePreparation.cubicTarget (n : ℕ) : QuantumBlockEncoding.QueryOperatorTarget ℚ (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n)
Operator-first target record used by the ABEIS harness.
Plain-English reading. This definition gives the library's named construction or computation for “default required cost”. Resource floor used for the first Scenario 2 run.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Resource floor used for the first Scenario 2 run.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:77. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.9●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.defaultRequiredCost : QuantumBlockEncoding.BlockEncodingCost
def QuantumBlockEncoding.CubicStatePreparation.defaultRequiredCost : QuantumBlockEncoding.BlockEncodingCost
Resource floor used for the first Scenario 2 run.
Plain-English reading. This definition gives the library's named construction or computation for “default policy”. Adaptive search policy for the cubic benchmark.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Adaptive search policy for the cubic benchmark. The zero gate/depth fields in 'defaultRequiredCost' deliberately mean "discover a concrete candidate and then rank it"; the active search is expected to relax from exact to approximate construction after a small exact-search stall window.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:89. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.10●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.defaultPolicy : QuantumBlockEncoding.AdaptiveBlockEncodingPolicy ℚ
def QuantumBlockEncoding.CubicStatePreparation.defaultPolicy : QuantumBlockEncoding.AdaptiveBlockEncodingPolicy ℚ
Adaptive search policy for the cubic benchmark. The zero gate/depth fields in `defaultRequiredCost` deliberately mean "discover a concrete candidate and then rank it"; the active search is expected to relax from exact to approximate construction after a small exact-search stall window.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic default precision”. First arithmetic-route precision seed for Scenario 2.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. First arithmetic-route precision seed for Scenario 2.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:100. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.11●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicDefaultPrecision : ℕ
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicDefaultPrecision : ℕ
First arithmetic-route precision seed for Scenario 2.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic layout”. Register layout for the first arithmetic-transduction candidate route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Register layout for the first arithmetic-transduction candidate route. The single signal qubit is the clean block selector. The pure workspace keeps an address copy, reversible square/cube work registers, and fixed-point precision workspace. This is a candidate interface only; it does not certify the arithmetic or rotation subroutines.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:110. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.12●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout (n precision : ℕ) : QuantumBlockEncoding.RegisterLayout
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout (n precision : ℕ) : QuantumBlockEncoding.RegisterLayout
Register layout for the first arithmetic-transduction candidate route. The single signal qubit is the clean block selector. The pure workspace keeps an address copy, reversible square/cube work registers, and fixed-point precision workspace. This is a candidate interface only; it does not certify the arithmetic or rotation subroutines.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic circuit”. Oracle-level transcript for the scalable cubic route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Oracle-level transcript for the scalable cubic route. The clean branch is intended to compute 'j / 2^n', reversibly form the cubic fixed-point amplitude, apply one amplitude-transduction rotation, and uncompute the arithmetic workspace. Each label remains a semantic proof obligation.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:122. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.13●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicCircuit (_n _precision : ℕ) : QuantumBlockEncoding.Circuit
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicCircuit (_n _precision : ℕ) : QuantumBlockEncoding.Circuit
Oracle-level transcript for the scalable cubic route. The clean branch is intended to compute `j / 2^n`, reversibly form the cubic fixed-point amplitude, apply one amplitude-transduction rotation, and uncompute the arithmetic workspace. Each label remains a semantic proof obligation.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic resource”. Local resource count for the unexpanded oracle-level transcript.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Local resource count for the unexpanded oracle-level transcript.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:133. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.14●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResource (n precision : ℕ) : QuantumBlockEncoding.Resource
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResource (n precision : ℕ) : QuantumBlockEncoding.Resource
Local resource count for the unexpanded oracle-level transcript.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic normalizer”. Normalizer used by the first arithmetic-transduction route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Normalizer used by the first arithmetic-transduction route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:137. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.15●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicNormalizer (n : ℕ) : ℚ
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicNormalizer (n : ℕ) : ℚ
Normalizer used by the first arithmetic-transduction route.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic cost”. Candidate score extracted from the arithmetic-route layout and transcript.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate score extracted from the arithmetic-route layout and transcript.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:141. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.16●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicCost (n precision : ℕ) : QuantumBlockEncoding.BlockEncodingCost
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicCost (n precision : ℕ) : QuantumBlockEncoding.BlockEncodingCost
Candidate score extracted from the arithmetic-route layout and transcript.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic resource tuple”. Resource tuple in QBE candidate-population order.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Resource tuple in QBE candidate-population order.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:147. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.17●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResourceTuple (n precision : ℕ) : ℕ × ℕ × ℕ × ℕ
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResourceTuple (n precision : ℕ) : ℕ × ℕ × ℕ × ℕ
Resource tuple in QBE candidate-population order.
Plain-English reading. Lean checks the proposition indexed as “arithmetic cubic resource eq”; the hypotheses and conclusion in the code panel fix its exact scope. The oracle-level transcript has seven unresolved calls and depth seven.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The oracle-level transcript has seven unresolved calls and depth seven.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:155. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.18●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResource_eq (n precision : ℕ) : QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResource n precision = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 7 0 7
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResource_eq (n precision : ℕ) : QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicResource n precision = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 7 0 7
The oracle-level transcript has seven unresolved calls and depth seven.
Plain-English reading. Lean checks the proposition indexed as “arithmetic cubic layout auxiliary qubits”; the hypotheses and conclusion in the code panel fix its exact scope. The first arithmetic route records one signal qubit plus pure workspace.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The first arithmetic route records one signal qubit plus pure workspace.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:161. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.19●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout_auxiliaryQubits (n precision : ℕ) : (QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout n precision).auxiliaryQubits = 1 + (3 * n + precision + 2)
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout_auxiliaryQubits (n precision : ℕ) : (QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout n precision).auxiliaryQubits = 1 + (3 * n + precision + 2)
The first arithmetic route records one signal qubit plus pure workspace.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic cubic claim”. Human-facing construction claim for the first scalable route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Human-facing construction claim for the first scalable route. This claim is an unproved candidate record, not a certified block encoding.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:170. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.20●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicClaim : QuantumBlockEncoding.ConstructionClaim
def QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicClaim : QuantumBlockEncoding.ConstructionClaim
Human-facing construction claim for the first scalable route. This claim is an unproved candidate record, not a certified block encoding.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic layout”. Rank-one wrapper layout for the arithmetic cubic route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Rank-one wrapper layout for the arithmetic cubic route. The extra pure workspace is reserved for a zero-input filter and row-generation wrapper. This is still an oracle-level interface: it repairs the register shape of the candidate transcript, but it does not certify the wrapper semantics.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:192. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.21●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicLayout (n precision : ℕ) : QuantumBlockEncoding.RegisterLayout
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicLayout (n precision : ℕ) : QuantumBlockEncoding.RegisterLayout
Rank-one wrapper layout for the arithmetic cubic route. The extra pure workspace is reserved for a zero-input filter and row-generation wrapper. This is still an oracle-level interface: it repairs the register shape of the candidate transcript, but it does not certify the wrapper semantics.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic circuit”. Rank-one candidate transcript around the arithmetic middle block.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Rank-one candidate transcript around the arithmetic middle block. The first two calls are the missing wrapper from 'CUBIC-CAND-SHAPE-001': reject nonzero input columns from the clean branch, then generate the output row register on the zero-input branch. The final call is a placeholder cleanup for the zero-input filter. The row-generation step is intentionally not uncomputed, because the output row is the system output of the rank-one operator.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:206. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.22●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCircuit (n precision : ℕ) : QuantumBlockEncoding.Circuit
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCircuit (n precision : ℕ) : QuantumBlockEncoding.Circuit
Rank-one candidate transcript around the arithmetic middle block. The first two calls are the missing wrapper from `CUBIC-CAND-SHAPE-001`: reject nonzero input columns from the clean branch, then generate the output row register on the zero-input branch. The final call is a placeholder cleanup for the zero-input filter. The row-generation step is intentionally not uncomputed, because the output row is the system output of the rank-one operator.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic resource”. Oracle-level resource count for the rank-one wrapped transcript.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Oracle-level resource count for the rank-one wrapped transcript.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:214. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.23●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResource (n precision : ℕ) : QuantumBlockEncoding.Resource
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResource (n precision : ℕ) : QuantumBlockEncoding.Resource
Oracle-level resource count for the rank-one wrapped transcript.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic normalizer”. Normalizer used by the rank-one wrapped arithmetic route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Normalizer used by the rank-one wrapped arithmetic route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:218. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.24●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicNormalizer (n : ℕ) : ℚ
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicNormalizer (n : ℕ) : ℚ
Normalizer used by the rank-one wrapped arithmetic route.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic cost”. Candidate score for the rank-one wrapped arithmetic route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate score for the rank-one wrapped arithmetic route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:222. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.25●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCost (n precision : ℕ) : QuantumBlockEncoding.BlockEncodingCost
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCost (n precision : ℕ) : QuantumBlockEncoding.BlockEncodingCost
Candidate score for the rank-one wrapped arithmetic route.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic resource tuple”. Resource tuple in QBE candidate-population order for the wrapped route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Resource tuple in QBE candidate-population order for the wrapped route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:228. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.26●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResourceTuple (n precision : ℕ) : ℕ × ℕ × ℕ × ℕ
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResourceTuple (n precision : ℕ) : ℕ × ℕ × ℕ × ℕ
Resource tuple in QBE candidate-population order for the wrapped route.
Plain-English reading. Lean checks the proposition indexed as “arithmetic rank one cubic resource eq”; the hypotheses and conclusion in the code panel fix its exact scope. The rank-one wrapper adds three oracle-level calls to the middle block.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The rank-one wrapper adds three oracle-level calls to the middle block.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:237. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.27●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResource_eq (n precision : ℕ) : QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResource n precision = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 10 0 10
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResource_eq (n precision : ℕ) : QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResource n precision = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 10 0 10
The rank-one wrapper adds three oracle-level calls to the middle block.
Plain-English reading. Lean checks the proposition indexed as “arithmetic rank one cubic layout auxiliary qubits”; the hypotheses and conclusion in the code panel fix its exact scope. Auxiliary qubits for the wrapped route include the zero-test workspace.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Auxiliary qubits for the wrapped route include the zero-test workspace.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:243. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.28●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicLayout_auxiliaryQubits (n precision : ℕ) : (QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicLayout n precision).auxiliaryQubits = 1 + ((QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout n precision).pureAncillas + n + 1)
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicLayout_auxiliaryQubits (n precision : ℕ) : (QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicLayout n precision).auxiliaryQubits = 1 + ((QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicLayout n precision).pureAncillas + n + 1)
Auxiliary qubits for the wrapped route include the zero-test workspace.
Plain-English reading. Lean checks the proposition indexed as “arithmetic rank one cubic resource tuple n 2 default”; the hypotheses and conclusion in the code panel fix its exact scope. Default small diagnostic score for the wrapped route at 'n = 2', 'p = 40'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Default small diagnostic score for the wrapped route at 'n = 2', 'p = 40'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:249. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.29●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResourceTuple_n2_default : QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResourceTuple 2 QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicDefaultPrecision = (10, 10, 52, 10)
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResourceTuple_n2_default : QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicResourceTuple 2 QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicDefaultPrecision = (10, 10, 52, 10)
Default small diagnostic score for the wrapped route at `n = 2`, `p = 40`.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic claim”. Human-facing construction claim for the rank-one wrapped scalable route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Human-facing construction claim for the rank-one wrapped scalable route. This still records obligations, not a verified block-encoding certificate.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:258. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.30●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicClaim : QuantumBlockEncoding.ConstructionClaim
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicClaim : QuantumBlockEncoding.ConstructionClaim
Human-facing construction claim for the rank-one wrapped scalable route. This still records obligations, not a verified block-encoding certificate.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic workspace”. Workspace seed for the Hadamard-counting mutation.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Workspace seed for the Hadamard-counting mutation. This is an oracle-level interface budget for the reversible cube/comparator workspace. It is not a gate-level implementation of multiplication.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:280. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.31●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicWorkspace (n : ℕ) : ℕ
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicWorkspace (n : ℕ) : ℕ
Workspace seed for the Hadamard-counting mutation. This is an oracle-level interface budget for the reversible cube/comparator workspace. It is not a gate-level implementation of multiplication.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic layout”. Register layout for the exact Hadamard-counting candidate.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Register layout for the exact Hadamard-counting candidate. The signal qubit is the reject flag. Pure ancillas are the nonzero-input flag, the 'R,T' path registers of total width '4*n', and the reversible cube/comparator workspace. Nonzero input columns set the reject signal before the 'nz' cleanup, so the clean projection cannot leak identity entries.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:291. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.32●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicLayout (n : ℕ) : QuantumBlockEncoding.RegisterLayout
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicLayout (n : ℕ) : QuantumBlockEncoding.RegisterLayout
Register layout for the exact Hadamard-counting candidate. The signal qubit is the reject flag. Pure ancillas are the nonzero-input flag, the `R,T` path registers of total width `4*n`, and the reversible cube/comparator workspace. Nonzero input columns set the reject signal before the `nz` cleanup, so the clean projection cannot leak identity entries.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic circuit”. Oracle-level transcript for the Hadamard-counting route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Oracle-level transcript for the Hadamard-counting route. The row XOR is not uncomputed, because it writes the output system row for the rank-one operator. The separate nonzero-column reject signal is applied before the 'nz' cleanup, so nonzero input columns keep a clean-projection rejection witness. The Hadamard layers and reversible arithmetic are still semantic obligations at this interface tier.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:305. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.33●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCircuit (_n : ℕ) : QuantumBlockEncoding.Circuit
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCircuit (_n : ℕ) : QuantumBlockEncoding.Circuit
Oracle-level transcript for the Hadamard-counting route. The row XOR is not uncomputed, because it writes the output system row for the rank-one operator. The separate nonzero-column reject signal is applied before the `nz` cleanup, so nonzero input columns keep a clean-projection rejection witness. The Hadamard layers and reversible arithmetic are still semantic obligations at this interface tier.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic circuit reject signal repair”; the hypotheses and conclusion in the code panel fix its exact scope. The repaired transcript records a separate nonzero-column reject signal before the final 'nz' cleanup.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The repaired transcript records a separate nonzero-column reject signal before the final 'nz' cleanup. This is the compiled surface for 'CUBIC-HCOUNT-REJECT-REPAIR-001'; semantic clean-block correctness remains a future proof leaf.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:322. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.34●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCircuit_rejectSignalRepair (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCircuit n = [QuantumBlockEncoding.Gate.oracleCall "hcount-zero-input-flag", QuantumBlockEncoding.Gate.oracleCall "hcount-nonzero-column-reject", QuantumBlockEncoding.Gate.oracleCall "hcount-path-H-on-R-T", QuantumBlockEncoding.Gate.oracleCall "hcount-row-xor-R-into-system", QuantumBlockEncoding.Gate.oracleCall "hcount-cubic-threshold-compare", QuantumBlockEncoding.Gate.oracleCall "(hcount-cubic-threshold-compare)^dagger", QuantumBlockEncoding.Gate.oracleCall "hcount-path-H-on-R-T", QuantumBlockEncoding.Gate.oracleCall "(hcount-zero-input-flag)^dagger"]
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCircuit_rejectSignalRepair (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCircuit n = [QuantumBlockEncoding.Gate.oracleCall "hcount-zero-input-flag", QuantumBlockEncoding.Gate.oracleCall "hcount-nonzero-column-reject", QuantumBlockEncoding.Gate.oracleCall "hcount-path-H-on-R-T", QuantumBlockEncoding.Gate.oracleCall "hcount-row-xor-R-into-system", QuantumBlockEncoding.Gate.oracleCall "hcount-cubic-threshold-compare", QuantumBlockEncoding.Gate.oracleCall "(hcount-cubic-threshold-compare)^dagger", QuantumBlockEncoding.Gate.oracleCall "hcount-path-H-on-R-T", QuantumBlockEncoding.Gate.oracleCall "(hcount-zero-input-flag)^dagger"]
The repaired transcript records a separate nonzero-column reject signal before the final `nz` cleanup. This is the compiled surface for `CUBIC-HCOUNT-REJECT-REPAIR-001`; semantic clean-block correctness remains a future proof leaf.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic resource”. Oracle-level resource count for the Hadamard-counting route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Oracle-level resource count for the Hadamard-counting route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:336. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.35●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResource (n : ℕ) : QuantumBlockEncoding.Resource
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResource (n : ℕ) : QuantumBlockEncoding.Resource
Oracle-level resource count for the Hadamard-counting route.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic normalizer”. Normalizer used by the Hadamard-counting route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Normalizer used by the Hadamard-counting route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:340. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.36●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicNormalizer (n : ℕ) : ℚ
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicNormalizer (n : ℕ) : ℚ
Normalizer used by the Hadamard-counting route.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic cost”. Candidate score for the Hadamard-counting route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate score for the Hadamard-counting route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:344. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.37●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCost (n : ℕ) : QuantumBlockEncoding.BlockEncodingCost
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCost (n : ℕ) : QuantumBlockEncoding.BlockEncodingCost
Candidate score for the Hadamard-counting route.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic resource tuple”. Resource tuple in QBE candidate-population order.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Resource tuple in QBE candidate-population order.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:350. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.38●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResourceTuple (n : ℕ) : ℕ × ℕ × ℕ × ℕ
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResourceTuple (n : ℕ) : ℕ × ℕ × ℕ × ℕ
Resource tuple in QBE candidate-population order.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic resource eq”; the hypotheses and conclusion in the code panel fix its exact scope. The Hadamard-counting interface has eight unresolved oracle-level calls.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The Hadamard-counting interface has eight unresolved oracle-level calls.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:358. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.39●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResource_eq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResource n = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 8 0 8
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResource_eq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResource n = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 8 0 8
The Hadamard-counting interface has eight unresolved oracle-level calls.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic layout auxiliary qubits”; the hypotheses and conclusion in the code panel fix its exact scope. Auxiliary qubits for the counting route include reject, 'nz', path, and workspace registers.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Auxiliary qubits for the counting route include reject, 'nz', path, and workspace registers.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:364. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.40●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicLayout_auxiliaryQubits (n : ℕ) : (QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicLayout n).auxiliaryQubits = 1 + (1 + 4 * n + QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicWorkspace n)
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicLayout_auxiliaryQubits (n : ℕ) : (QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicLayout n).auxiliaryQubits = 1 + (1 + 4 * n + QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicWorkspace n)
Auxiliary qubits for the counting route include reject, `nz`, path, and workspace registers.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic resource tuple n 2”; the hypotheses and conclusion in the code panel fix its exact scope. Default small diagnostic score for the counting route at 'n = 2'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Default small diagnostic score for the counting route at 'n = 2'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:370. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.41●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResourceTuple_n2 : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResourceTuple 2 = (8, 8, 21, 8)
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResourceTuple_n2 : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicResourceTuple 2 = (8, 8, 21, 8)
Default small diagnostic score for the counting route at `n = 2`.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic claim”. Human-facing construction claim for the Hadamard-counting exact route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Human-facing construction claim for the Hadamard-counting exact route. This is an unproved candidate record, not a certified block encoding.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:378. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.42●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicClaim : QuantumBlockEncoding.ConstructionClaim
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicClaim : QuantumBlockEncoding.ConstructionClaim
Human-facing construction claim for the Hadamard-counting exact route. This is an unproved candidate record, not a certified block encoding.
Plain-English reading. This definition gives the library's named construction or computation for “hard mode upper agent schedule”. Hard Mode panel escalation schedule.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Hard Mode panel escalation schedule. The four entries are the planned parallel-agent counts for levels 0 through 3. Upper agents should only move to the next level after the active proof leaf has stalled and the reviewer has confirmed that the blocker is not just stale memory.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:401. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.43●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hardModeUpperAgentSchedule : List ℕ
def QuantumBlockEncoding.CubicStatePreparation.hardModeUpperAgentSchedule : List ℕ
Hard Mode panel escalation schedule. The four entries are the planned parallel-agent counts for levels 0 through 3. Upper agents should only move to the next level after the active proof leaf has stalled and the reviewer has confirmed that the blocker is not just stale memory.
Plain-English reading. This definition gives the library's named construction or computation for “hard mode middle agent schedule”.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:403. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.44●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hardModeMiddleAgentSchedule : List ℕ
def QuantumBlockEncoding.CubicStatePreparation.hardModeMiddleAgentSchedule : List ℕ
Plain-English reading. This definition gives the library's named construction or computation for “hard mode lower agent schedule”.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:405. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.45●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule : List ℕ
def QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule : List ℕ
Plain-English reading. This definition gives the library's named construction or computation for “hard mode exact stall window”. Number of consecutive cycles without a closed leaf before the first escalation.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Number of consecutive cycles without a closed leaf before the first escalation.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:408. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.46●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hardModeExactStallWindow : ℕ
def QuantumBlockEncoding.CubicStatePreparation.hardModeExactStallWindow : ℕ
Number of consecutive cycles without a closed leaf before the first escalation.
Plain-English reading. This definition gives the library's named construction or computation for “hard mode construction stall window”. Number of consecutive cycles without an improving certified or finite candidate before the next Hard Mode level is considered.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Number of consecutive cycles without an improving certified or finite candidate before the next Hard Mode level is considered.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:414. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.47●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hardModeConstructionStallWindow : ℕ
def QuantumBlockEncoding.CubicStatePreparation.hardModeConstructionStallWindow : ℕ
Number of consecutive cycles without an improving certified or finite candidate before the next Hard Mode level is considered.
Plain-English reading. This definition gives the library's named construction or computation for “hard mode level cycle budget”. Per-level cycle budgets before the upper panel must explicitly review progress.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Per-level cycle budgets before the upper panel must explicitly review progress.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:417. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.48●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hardModeLevelCycleBudget : List ℕ
def QuantumBlockEncoding.CubicStatePreparation.hardModeLevelCycleBudget : List ℕ
Per-level cycle budgets before the upper panel must explicitly review progress.
Plain-English reading. This definition gives the library's named construction or computation for “relaxed epsilon ladder”. Scenario 2 epsilon ladder.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Scenario 2 epsilon ladder. The first entry is the user-requested tolerance. Later entries are relaxed exploratory waypoints used only if the exact or requested-epsilon search stalls; a relaxed waypoint is not a substitute for a certificate at 'requestedEpsilon'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:425. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.49●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.relaxedEpsilonLadder : List ℚ
def QuantumBlockEncoding.CubicStatePreparation.relaxedEpsilonLadder : List ℚ
Scenario 2 epsilon ladder. The first entry is the user-requested tolerance. Later entries are relaxed exploratory waypoints used only if the exact or requested-epsilon search stalls; a relaxed waypoint is not a substitute for a certificate at `requestedEpsilon`.
Plain-English reading. Lean checks the proposition indexed as “relaxed epsilon ladder starts with requested”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:428. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.50●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.relaxedEpsilonLadder_startsWithRequested : QuantumBlockEncoding.CubicStatePreparation.relaxedEpsilonLadder.head? = some QuantumBlockEncoding.CubicStatePreparation.requestedEpsilon
theorem QuantumBlockEncoding.CubicStatePreparation.relaxedEpsilonLadder_startsWithRequested : QuantumBlockEncoding.CubicStatePreparation.relaxedEpsilonLadder.head? = some QuantumBlockEncoding.CubicStatePreparation.requestedEpsilon
Plain-English reading. Lean checks the proposition indexed as “hard mode schedules have four levels”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:432. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.51●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hardModeSchedules_have_four_levels : QuantumBlockEncoding.CubicStatePreparation.hardModeUpperAgentSchedule.length = 4 ∧ QuantumBlockEncoding.CubicStatePreparation.hardModeMiddleAgentSchedule.length = 4 ∧ QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule.length = 4 ∧ QuantumBlockEncoding.CubicStatePreparation.hardModeLevelCycleBudget.length = 4
theorem QuantumBlockEncoding.CubicStatePreparation.hardModeSchedules_have_four_levels : QuantumBlockEncoding.CubicStatePreparation.hardModeUpperAgentSchedule.length = 4 ∧ QuantumBlockEncoding.CubicStatePreparation.hardModeMiddleAgentSchedule.length = 4 ∧ QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule.length = 4 ∧ QuantumBlockEncoding.CubicStatePreparation.hardModeLevelCycleBudget.length = 4
Plain-English reading. Lean checks the proposition indexed as “hard mode lower agent schedule final”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:439. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.52●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule_final : QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule.getLast? = some 6
theorem QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule_final : QuantumBlockEncoding.CubicStatePreparation.hardModeLowerAgentSchedule.getLast? = some 6
Plain-English reading. This definition gives the library's named construction or computation for “initial expected phase”. Current expected phase.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Current expected phase. This is a planning declaration, not a proof of impossibility: it records that exact finite gate synthesis should not consume the full budget before approximate arithmetic/state-preparation search starts.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:448. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.53●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.initialExpectedPhase : QuantumBlockEncoding.BlockEncodingSearchPhase
def QuantumBlockEncoding.CubicStatePreparation.initialExpectedPhase : QuantumBlockEncoding.BlockEncodingSearchPhase
Current expected phase. This is a planning declaration, not a proof of impossibility: it records that exact finite gate synthesis should not consume the full budget before approximate arithmetic/state-preparation search starts.
Plain-English reading. Lean checks the proposition indexed as “grid size pos”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:451. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.54●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_pos (n : ℕ) : 0 < QuantumBlockEncoding.gridSize n
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_pos (n : ℕ) : 0 < QuantumBlockEncoding.gridSize n
Plain-English reading. Lean checks the proposition indexed as “cubic operator first column”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:454. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.55●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicOperator_first_column (n : ℕ) (row : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicOperator n row ⟨0, ⋯⟩ = QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n row
theorem QuantumBlockEncoding.CubicStatePreparation.cubicOperator_first_column (n : ℕ) (row : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicOperator n row ⟨0, ⋯⟩ = QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n row
Plain-English reading. Lean checks the proposition indexed as “cubic operator only first column”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:458. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.56●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicOperator_only_first_column (n : ℕ) (row col : Fin (QuantumBlockEncoding.gridSize n)) (h : ↑col ≠ 0) : QuantumBlockEncoding.CubicStatePreparation.cubicOperator n row col = 0
theorem QuantumBlockEncoding.CubicStatePreparation.cubicOperator_only_first_column (n : ℕ) (row col : Fin (QuantumBlockEncoding.gridSize n)) (h : ↑col ≠ 0) : QuantumBlockEncoding.CubicStatePreparation.cubicOperator n row col = 0
Plain-English reading. This definition gives the library's named construction or computation for “rank one clean block contract”. Entrywise clean-block contract for a rank-one cubic candidate.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Entrywise clean-block contract for a rank-one cubic candidate. The first field states the scaled clean first column. The second field states that all other input columns vanish in the clean block. This is a semantic obligation for a future unitary/circuit proof, not a proof that the current oracle labels already realize the contract.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:471. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.57●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.rankOneCleanBlockContract (n : ℕ) (alpha : ℚ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
def QuantumBlockEncoding.CubicStatePreparation.rankOneCleanBlockContract (n : ℕ) (alpha : ℚ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Entrywise clean-block contract for a rank-one cubic candidate. The first field states the scaled clean first column. The second field states that all other input columns vanish in the clean block. This is a semantic obligation for a future unitary/circuit proof, not a proof that the current oracle labels already realize the contract.
Plain-English reading. This definition gives the library's named construction or computation for “arithmetic rank one cubic clean block contract”. Candidate-specific clean-block contract for the repaired rank-one route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate-specific clean-block contract for the repaired rank-one route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:478. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.58●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
def QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Candidate-specific clean-block contract for the repaired rank-one route.
Plain-English reading. Lean checks the proposition indexed as “rank one clean block contract pointwise eq”; the hypotheses and conclusion in the code panel fix its exact scope. The rank-one clean-block contract is exactly the target matrix, entry by entry, after multiplying by its normalizer.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The rank-one clean-block contract is exactly the target matrix, entry by entry, after multiplying by its normalizer.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:486. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.59●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.rankOneCleanBlockContract_pointwise_eq {n : ℕ} {alpha : ℚ} {block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ} (h : QuantumBlockEncoding.CubicStatePreparation.rankOneCleanBlockContract n alpha block) : QuantumBlockEncoding.Matrix.PointwiseEq (fun row col => alpha * block row col) (QuantumBlockEncoding.CubicStatePreparation.cubicOperator n)
theorem QuantumBlockEncoding.CubicStatePreparation.rankOneCleanBlockContract_pointwise_eq {n : ℕ} {alpha : ℚ} {block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ} (h : QuantumBlockEncoding.CubicStatePreparation.rankOneCleanBlockContract n alpha block) : QuantumBlockEncoding.Matrix.PointwiseEq (fun row col => alpha * block row col) (QuantumBlockEncoding.CubicStatePreparation.cubicOperator n)
The rank-one clean-block contract is exactly the target matrix, entry by entry, after multiplying by its normalizer.
Plain-English reading. Lean checks the proposition indexed as “arithmetic rank one cubic clean block contract pointwise eq”; the hypotheses and conclusion in the code panel fix its exact scope. Candidate-specific bridge from the repaired wrapper's clean-block contract to the fixed cubic target.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate-specific bridge from the repaired wrapper's clean-block contract to the fixed cubic target.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:506. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.60●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCleanBlockContract_pointwise_eq {n : ℕ} {block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ} (h : QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCleanBlockContract n block) : QuantumBlockEncoding.Matrix.PointwiseEq (fun row col => QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicNormalizer n * block row col) (QuantumBlockEncoding.CubicStatePreparation.cubicOperator n)
theorem QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCleanBlockContract_pointwise_eq {n : ℕ} {block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ} (h : QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicCleanBlockContract n block) : QuantumBlockEncoding.Matrix.PointwiseEq (fun row col => QuantumBlockEncoding.CubicStatePreparation.arithmeticRankOneCubicNormalizer n * block row col) (QuantumBlockEncoding.CubicStatePreparation.cubicOperator n)
Candidate-specific bridge from the repaired wrapper's clean-block contract to the fixed cubic target.
Plain-English reading. This definition gives the library's named construction or computation for “hadamard counting cubic clean block contract”. Candidate-specific clean-block contract for the Hadamard-counting route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate-specific clean-block contract for the Hadamard-counting route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:515. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.61●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
def QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Candidate-specific clean-block contract for the Hadamard-counting route.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic clean block contract pointwise eq”; the hypotheses and conclusion in the code panel fix its exact scope. Candidate-specific bridge from the Hadamard-counting clean-block contract to the fixed cubic target.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate-specific bridge from the Hadamard-counting clean-block contract to the fixed cubic target.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:523. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.62●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCleanBlockContract_pointwise_eq {n : ℕ} {block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ} (h : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCleanBlockContract n block) : QuantumBlockEncoding.Matrix.PointwiseEq (fun row col => QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicNormalizer n * block row col) (QuantumBlockEncoding.CubicStatePreparation.cubicOperator n)
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCleanBlockContract_pointwise_eq {n : ℕ} {block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ} (h : QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicCleanBlockContract n block) : QuantumBlockEncoding.Matrix.PointwiseEq (fun row col => QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicNormalizer n * block row col) (QuantumBlockEncoding.CubicStatePreparation.cubicOperator n)
Candidate-specific bridge from the Hadamard-counting clean-block contract to the fixed cubic target.
Plain-English reading. Lean checks the proposition indexed as “rat cube sq eq sixth”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:531. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.63●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.rat_cube_sq_eq_sixth (x : ℚ) : (x ^ 3) ^ 2 = x ^ 6
theorem QuantumBlockEncoding.CubicStatePreparation.rat_cube_sq_eq_sixth (x : ℚ) : (x ^ 3) ^ 2 = x ^ 6
Plain-English reading. Lean checks the proposition indexed as “cubic amplitude sq eq grid point sixth”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:538. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.64●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude_sq_eq_gridPoint_sixth (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j ^ 2 = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j ^ 6
theorem QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude_sq_eq_gridPoint_sixth (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j ^ 2 = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j ^ 6
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq sixth power fold”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:543. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.65●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_sixthPowerFold (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n = List.foldl (fun acc j => acc + QuantumBlockEncoding.CubicStatePreparation.gridPoint n j ^ 6) 0 (List.finRange (QuantumBlockEncoding.gridSize n))
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_sixthPowerFold (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n = List.foldl (fun acc j => acc + QuantumBlockEncoding.CubicStatePreparation.gridPoint n j ^ 6) 0 (List.finRange (QuantumBlockEncoding.gridSize n))
Plain-English reading. Lean checks the proposition indexed as “grid size rat ne zero”; the hypotheses and conclusion in the code panel fix its exact scope. The rational grid dimension is nonzero, for denominator side conditions.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The rational grid dimension is nonzero, for denominator side conditions.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:550. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.66●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_rat_ne_zero (n : ℕ) : ↑(QuantumBlockEncoding.gridSize n) ≠ 0
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_rat_ne_zero (n : ℕ) : ↑(QuantumBlockEncoding.gridSize n) ≠ 0
The rational grid dimension is nonzero, for denominator side conditions.
Plain-English reading. Lean checks the proposition indexed as “grid size rat pos”; the hypotheses and conclusion in the code panel fix its exact scope. The rational grid dimension is positive.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The rational grid dimension is positive.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:555. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.67●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_rat_pos (n : ℕ) : 0 < ↑(QuantumBlockEncoding.gridSize n)
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_rat_pos (n : ℕ) : 0 < ↑(QuantumBlockEncoding.gridSize n)
The rational grid dimension is positive.
Plain-English reading. Lean checks the proposition indexed as “rat div cube div eq”; the hypotheses and conclusion in the code panel fix its exact scope. Core rational normalization for the Hadamard-counting path ratio.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Core rational normalization for the Hadamard-counting path ratio.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:560. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.68●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.rat_div_cube_div_eq (a b : ℚ) : (a / b) ^ 3 / b = a ^ 3 / b ^ 4
theorem QuantumBlockEncoding.CubicStatePreparation.rat_div_cube_div_eq (a b : ℚ) : (a / b) ^ 3 / b = a ^ 3 / b ^ 4
Core rational normalization for the Hadamard-counting path ratio.
Plain-English reading. Lean checks the proposition indexed as “cubic amplitude div conservative normalizer eq”; the hypotheses and conclusion in the code panel fix its exact scope. Arithmetic bridge for the Hadamard-counting path formula.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Arithmetic bridge for the Hadamard-counting path formula. After scaling by 'alpha = conservativeNormalizer n = gridSize n', the candidate clean-block entry 'j^3 / gridSize^4' recovers the cubic target amplitude.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:571. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.69●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude_div_conservativeNormalizer_eq (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j / QuantumBlockEncoding.CubicStatePreparation.conservativeNormalizer n = ↑↑j ^ 3 / ↑(QuantumBlockEncoding.gridSize n) ^ 4
theorem QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude_div_conservativeNormalizer_eq (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j / QuantumBlockEncoding.CubicStatePreparation.conservativeNormalizer n = ↑↑j ^ 3 / ↑(QuantumBlockEncoding.gridSize n) ^ 4
Arithmetic bridge for the Hadamard-counting path formula. After scaling by `alpha = conservativeNormalizer n = gridSize n`, the candidate clean-block entry `j^3 / gridSize^4` recovers the cubic target amplitude.
Plain-English reading. Lean checks the proposition indexed as “grid size three mul eq cube”; the hypotheses and conclusion in the code panel fix its exact scope. Path-register capacity identity for the Hadamard-counting route.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Path-register capacity identity for the Hadamard-counting route.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:579. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.70●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_three_mul_eq_cube (n : ℕ) : QuantumBlockEncoding.gridSize (3 * n) = QuantumBlockEncoding.gridSize n ^ 3
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_three_mul_eq_cube (n : ℕ) : QuantumBlockEncoding.gridSize (3 * n) = QuantumBlockEncoding.gridSize n ^ 3
Path-register capacity identity for the Hadamard-counting route.
Plain-English reading. Lean checks the proposition indexed as “grid size four mul eq fourth”; the hypotheses and conclusion in the code panel fix its exact scope. Four-register path-space identity for the Hadamard-counting denominator.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Four-register path-space identity for the Hadamard-counting denominator.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:585. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.71●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_four_mul_eq_fourth (n : ℕ) : QuantumBlockEncoding.gridSize (4 * n) = QuantumBlockEncoding.gridSize n ^ 4
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_four_mul_eq_fourth (n : ℕ) : QuantumBlockEncoding.gridSize (4 * n) = QuantumBlockEncoding.gridSize n ^ 4
Four-register path-space identity for the Hadamard-counting denominator.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic threshold count p fin range”; the hypotheses and conclusion in the code panel fix its exact scope. Reusable threshold count over 'List.finRange'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Reusable threshold count over 'List.finRange'. If the threshold 'k' fits in an 'm'-element register, exactly 'k' entries of 'List.finRange m' have value strictly below 'k'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:596. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.72●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_thresholdCountP_finRange (m k : ℕ) (hk : k ≤ m) : List.countP (fun t => decide (↑t < k)) (List.finRange m) = k
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_thresholdCountP_finRange (m k : ℕ) (hk : k ≤ m) : List.countP (fun t => decide (↑t < k)) (List.finRange m) = k
Reusable threshold count over `List.finRange`. If the threshold `k` fits in an `m`-element register, exactly `k` entries of `List.finRange m` have value strictly below `k`.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic threshold filter length”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:625. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.73●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_thresholdFilterLength (m k : ℕ) (hk : k ≤ m) : (List.filter (fun t => decide (↑t < k)) (List.finRange m)).length = k
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_thresholdFilterLength (m k : ℕ) (hk : k ≤ m) : (List.filter (fun t => decide (↑t < k)) (List.finRange m)).length = k
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic threshold le path capacity”; the hypotheses and conclusion in the code panel fix its exact scope. The cubic threshold for row 'j' fits in the '3*n'-qubit path register.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The cubic threshold for row 'j' fits in the '3*n'-qubit path register.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:632. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.74●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_threshold_le_pathCapacity (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ↑j ^ 3 ≤ QuantumBlockEncoding.gridSize (3 * n)
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_threshold_le_pathCapacity (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ↑j ^ 3 ≤ QuantumBlockEncoding.gridSize (3 * n)
The cubic threshold for row `j` fits in the `3*n`-qubit path register.
Plain-English reading. Lean checks the proposition indexed as “hadamard counting cubic threshold path count”; the hypotheses and conclusion in the code panel fix its exact scope. Symbolic accepted-path count for the Hadamard-counting threshold register.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Symbolic accepted-path count for the Hadamard-counting threshold register. For fixed output row 'j', the '3*n'-qubit threshold register contributes exactly 'j.val ^ 3' accepted values.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:645. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.75●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_thresholdPathCount (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : (List.filter (fun t => decide (↑t < ↑j ^ 3)) (List.finRange (QuantumBlockEncoding.gridSize (3 * n)))).length = ↑j ^ 3
theorem QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubic_thresholdPathCount (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : (List.filter (fun t => decide (↑t < ↑j ^ 3)) (List.finRange (QuantumBlockEncoding.gridSize (3 * n)))).length = ↑j ^ 3
Symbolic accepted-path count for the Hadamard-counting threshold register. For fixed output row `j`, the `3*n`-qubit threshold register contributes exactly `j.val ^ 3` accepted values.
Plain-English reading. Lean checks the proposition indexed as “grid point nonneg”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:653. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.76●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridPoint_nonneg (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : 0 ≤ QuantumBlockEncoding.CubicStatePreparation.gridPoint n j
theorem QuantumBlockEncoding.CubicStatePreparation.gridPoint_nonneg (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : 0 ≤ QuantumBlockEncoding.CubicStatePreparation.gridPoint n j
Plain-English reading. Lean checks the proposition indexed as “grid point lt one”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:662. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.77●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridPoint_lt_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.gridPoint n j < 1
theorem QuantumBlockEncoding.CubicStatePreparation.gridPoint_lt_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.gridPoint n j < 1
Plain-English reading. Lean checks the proposition indexed as “grid point le one”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:669. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.78●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridPoint_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.gridPoint n j ≤ 1
theorem QuantumBlockEncoding.CubicStatePreparation.gridPoint_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.gridPoint n j ≤ 1
Plain-English reading. Lean checks the proposition indexed as “rat pow le one of nonneg le one”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:673. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.79●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.rat_pow_le_one_of_nonneg_le_one (x : ℚ) (k : ℕ) (hx0 : 0 ≤ x) (hx1 : x ≤ 1) : x ^ k ≤ 1
theorem QuantumBlockEncoding.CubicStatePreparation.rat_pow_le_one_of_nonneg_le_one (x : ℚ) (k : ℕ) (hx0 : 0 ≤ x) (hx1 : x ≤ 1) : x ^ k ≤ 1
Plain-English reading. Lean checks the proposition indexed as “cubic amplitude sq le one”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:687. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.80●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude_sq_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j ^ 2 ≤ 1
theorem QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude_sq_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j ^ 2 ≤ 1
Plain-English reading. Lean checks the proposition indexed as “foldl add le add length”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:693. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.81●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.foldl_add_le_add_length.{u} {α : Type u} (xs : List α) (f : α → ℚ) (h : ∀ x ∈ xs, f x ≤ 1) (acc : ℚ) : List.foldl (fun acc x => acc + f x) acc xs ≤ acc + ↑xs.length
theorem QuantumBlockEncoding.CubicStatePreparation.foldl_add_le_add_length.{u} {α : Type u} (xs : List α) (f : α → ℚ) (h : ∀ x ∈ xs, f x ≤ 1) (acc : ℚ) : List.foldl (fun acc x => acc + f x) acc xs ≤ acc + ↑xs.length
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq le grid size”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:719. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.82●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_gridSize (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ ↑(QuantumBlockEncoding.gridSize n)
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_gridSize (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ ↑(QuantumBlockEncoding.gridSize n)
Plain-English reading. Lean checks the proposition indexed as “grid size rat le sq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:731. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.83●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_rat_le_sq (n : ℕ) : ↑(QuantumBlockEncoding.gridSize n) ≤ ↑(QuantumBlockEncoding.gridSize n) ^ 2
theorem QuantumBlockEncoding.CubicStatePreparation.gridSize_rat_le_sq (n : ℕ) : ↑(QuantumBlockEncoding.gridSize n) ≤ ↑(QuantumBlockEncoding.gridSize n) ^ 2
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq le conservative normalizer sq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:743. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.84●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_conservativeNormalizer_sq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ QuantumBlockEncoding.CubicStatePreparation.conservativeNormalizer n ^ 2
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_conservativeNormalizer_sq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ QuantumBlockEncoding.CubicStatePreparation.conservativeNormalizer n ^ 2
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq le arithmetic cubic normalizer sq”; the hypotheses and conclusion in the code panel fix its exact scope. Candidate-specific normalizer bridge for the first arithmetic route.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate-specific normalizer bridge for the first arithmetic route. This does not certify the candidate unitary; it only records that the route's current choice 'alpha = arithmeticCubicNormalizer n' inherits the compiled conservative norm bound.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:754. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.85●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_arithmeticCubicNormalizer_sq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicNormalizer n ^ 2
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_arithmeticCubicNormalizer_sq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ QuantumBlockEncoding.CubicStatePreparation.arithmeticCubicNormalizer n ^ 2
Candidate-specific normalizer bridge for the first arithmetic route. This does not certify the candidate unitary; it only records that the route's current choice `alpha = arithmeticCubicNormalizer n` inherits the compiled conservative norm bound.
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq le hadamard counting cubic normalizer sq”; the hypotheses and conclusion in the code panel fix its exact scope. Candidate-specific normalizer bridge for the Hadamard-counting route.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate-specific normalizer bridge for the Hadamard-counting route. This does not certify the Hadamard-sandwich semantics; it only records that the route's normalizer inherits the compiled conservative norm bound.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:764. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.86●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_hadamardCountingCubicNormalizer_sq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicNormalizer n ^ 2
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_le_hadamardCountingCubicNormalizer_sq (n : ℕ) : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq n ≤ QuantumBlockEncoding.CubicStatePreparation.hadamardCountingCubicNormalizer n ^ 2
Candidate-specific normalizer bridge for the Hadamard-counting route. This does not certify the Hadamard-sandwich semantics; it only records that the route's normalizer inherits the compiled conservative norm bound.
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq n 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:769. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.87●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_n1 : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq 1 = 1 / 64
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_n1 : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq 1 = 1 / 64
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq n 2”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:773. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.88●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_n2 : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq 2 = 397 / 2048
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_n2 : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq 2 = 397 / 2048
Plain-English reading. Lean checks the proposition indexed as “cubic norm sq n 3”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:777. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.89●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_n3 : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq 3 = 46205 / 65536
theorem QuantumBlockEncoding.CubicStatePreparation.cubicNormSq_n3 : QuantumBlockEncoding.CubicStatePreparation.cubicNormSq 3 = 46205 / 65536
Plain-English reading. This definition gives the library's named construction or computation for “task id”. Task identifier used by the retrieval and verifier ledgers.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Task identifier used by the retrieval and verifier ledgers.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:786. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.90●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.taskId : String
def QuantumBlockEncoding.CubicDiagonalOracle.taskId : String
Task identifier used by the retrieval and verifier ledgers.
Plain-English reading. This definition gives the library's named construction or computation for “cubic diagonal operator”. The diagonal cubic oracle target 'D_n[row,col] = (row/2^n)^3' if 'row=col', else zero.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The diagonal cubic oracle target 'D_n[row,col] = (row/2^n)^3' if 'row=col', else zero.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:789. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.91●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
The diagonal cubic oracle target `D_n[row,col] = (row/2^n)^3` if `row=col`, else zero.
Plain-English reading. This definition gives the library's named construction or computation for “exact normalizer”. Exact normalizer for the diagonal target at the primitive amplitude-oracle tier.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Exact normalizer for the diagonal target at the primitive amplitude-oracle tier.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:795. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.92●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.exactNormalizer (_n : ℕ) : ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.exactNormalizer (_n : ℕ) : ℚ
Exact normalizer for the diagonal target at the primitive amplitude-oracle tier.
Plain-English reading. This definition gives the library's named construction or computation for “cubic diagonal target”. Operator-first target record for the diagonal cubic oracle.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Operator-first target record for the diagonal cubic oracle.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:798. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.93●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget (n : ℕ) : QuantumBlockEncoding.QueryOperatorTarget ℚ (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget (n : ℕ) : QuantumBlockEncoding.QueryOperatorTarget ℚ (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n)
Operator-first target record for the diagonal cubic oracle.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal operator”. Hinted linear diagonal target 'O_0[row,col] = row/2^n' if 'row=col', else zero.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Hinted linear diagonal target 'O_0[row,col] = row/2^n' if 'row=col', else zero. This is the input operator for the task-local QSVT consumer route. It is only the target matrix; a block-encoding circuit for this matrix is a separate proof obligation.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:819. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.94●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
Hinted linear diagonal target `O_0[row,col] = row/2^n` if `row=col`, else zero. This is the input operator for the task-local QSVT consumer route. It is only the target matrix; a block-encoding circuit for this matrix is a separate proof obligation.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal target”. Operator-first target record for the hinted linear diagonal input 'O_0'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Operator-first target record for the hinted linear diagonal input 'O_0'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:825. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.95●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget (n : ℕ) : QuantumBlockEncoding.QueryOperatorTarget ℚ (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget (n : ℕ) : QuantumBlockEncoding.QueryOperatorTarget ℚ (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n)
Operator-first target record for the hinted linear diagonal input `O_0`.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal clean block contract”. Clean-block contract for the hinted linear diagonal input 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Clean-block contract for the hinted linear diagonal input target.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:840. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.96●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Clean-block contract for the hinted linear diagonal input target.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal clean block contract pointwise eq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:846. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.97●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract_pointwise_eq (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract_pointwise_eq (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)
Plain-English reading. Lean checks the proposition indexed as “linear diagonal clean block eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:853. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.98●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlock_eq_target (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlock_eq_target (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal exact clean block from pointwise”. Package a supplied clean-block equality for the hinted linear diagonal target as an 'ExactCleanBlock' payload.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Package a supplied clean-block equality for the hinted linear diagonal target as an 'ExactCleanBlock' payload. This is semantic glue only. The caller still owns the unitary proof, cleanup proof, concrete circuit, and resource tuple for the matrix 'U'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:867. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.99●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalExactCleanBlockFromPointwise {n total : ℕ} (U : QuantumBlockEncoding.Matrix total total ℚ) (embed : Fin (QuantumBlockEncoding.gridSize n) → Fin total) (h : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy embed U).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)) : QuantumBlockEncoding.BlockEncodingClassics.ExactCleanBlock (QuantumBlockEncoding.gridSize n) total
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalExactCleanBlockFromPointwise {n total : ℕ} (U : QuantumBlockEncoding.Matrix total total ℚ) (embed : Fin (QuantumBlockEncoding.gridSize n) → Fin total) (h : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy embed U).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)) : QuantumBlockEncoding.BlockEncodingClassics.ExactCleanBlock (QuantumBlockEncoding.gridSize n) total
Package a supplied clean-block equality for the hinted linear diagonal target as an `ExactCleanBlock` payload. This is semantic glue only. The caller still owns the unitary proof, cleanup proof, concrete circuit, and resource tuple for the matrix `U`.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal exact clean block from pointwise clean eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:881. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.100●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalExactCleanBlockFromPointwise_clean_eq_target {n total : ℕ} (U : QuantumBlockEncoding.Matrix total total ℚ) (embed : Fin (QuantumBlockEncoding.gridSize n) → Fin total) (h : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy embed U).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalExactCleanBlockFromPointwise U embed h).clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalExactCleanBlockFromPointwise_clean_eq_target {n total : ℕ} (U : QuantumBlockEncoding.Matrix total total ℚ) (embed : Fin (QuantumBlockEncoding.gridSize n) → Fin total) (h : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy embed U).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalExactCleanBlockFromPointwise U embed h).clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
Plain-English reading. This record groups the data and proof fields needed for “linear diagonal input be contract”. A proposition-valued field is a requirement until a constructor supplies it. Interface for a concrete block encoding of the hinted linear diagonal input.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Interface for a concrete block encoding of the hinted linear diagonal input. This names the fields a backend must supply before the exact clean-block payload can be used as a real input certificate. It is not itself a backend: the cleanup and resource propositions must describe the chosen circuit family.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:904. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.101●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract (n total : ℕ) : Type
structure QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract (n total : ℕ) : Type
Interface for a concrete block encoding of the hinted linear diagonal input. This names the fields a backend must supply before the exact clean-block payload can be used as a real input certificate. It is not itself a backend: the cleanup and resource propositions must describe the chosen circuit family.
Fields
U : QuantumBlockEncoding.Matrix total total ℚ
embed : Fin (QuantumBlockEncoding.gridSize n) → Fin total
unitaryProof : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal self.U
cleanupStatement : Prop
cleanupDescription : String
cleanupProof : self.cleanupStatement
cleanBlockProof : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy self.embed self.U).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)
normalizerProof : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).normalizer = 1
resource : QuantumBlockEncoding.Resource
resourceStatement : Prop
resourceProof : self.resourceStatement
Plain-English reading. This definition gives the library's named construction or computation for “exact payload”. Extract the reusable exact clean-block payload from a concrete linear-diagonal input contract.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Extract the reusable exact clean-block payload from a concrete linear-diagonal input contract.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:926. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.102●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract.exactPayload {n total : ℕ} (cert : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract n total) : QuantumBlockEncoding.BlockEncodingClassics.ExactCleanBlock (QuantumBlockEncoding.gridSize n) total
def QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract.exactPayload {n total : ℕ} (cert : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract n total) : QuantumBlockEncoding.BlockEncodingClassics.ExactCleanBlock (QuantumBlockEncoding.gridSize n) total
Extract the reusable exact clean-block payload from a concrete linear-diagonal input contract.
Plain-English reading. Lean checks the proposition indexed as “clean eq target”; the hypotheses and conclusion in the code panel fix its exact scope. The extracted clean block equals the hinted linear diagonal target.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The extracted clean block equals the hinted linear diagonal target.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:932. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.103●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract.clean_eq_target {n total : ℕ} (cert : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract n total) : cert.exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract.clean_eq_target {n total : ℕ} (cert : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract n total) : cert.exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
The extracted clean block equals the hinted linear diagonal target.
Plain-English reading. This definition gives the library's named construction or computation for “householder zero”. Clean basis index for the 8-dimensional rational Householder signal block.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Clean basis index for the 8-dimensional rational Householder signal block.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:944. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.104●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.householderZero : Fin 8
def QuantumBlockEncoding.CubicDiagonalOracle.householderZero : Fin 8
Clean basis index for the 8-dimensional rational Householder signal block.
Plain-English reading. This definition gives the library's named construction or computation for “dot 8”. Explicit rational dot product for the 8-dimensional Householder support leaf.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Explicit rational dot product for the 8-dimensional Householder support leaf.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:947. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.105●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.dot8 (u v : Fin 8 → ℚ) : ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.dot8 (u v : Fin 8 → ℚ) : ℚ
Explicit rational dot product for the 8-dimensional Householder support leaf.
Plain-English reading. This definition gives the library's named construction or computation for “householder 8 e 0 minus”. Vector 'e_0 - v' used in the rational Householder reflection.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Vector 'e_0 - v' used in the rational Householder reflection.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:952. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.106●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus (v : Fin 8 → ℚ) : Fin 8 → ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus (v : Fin 8 → ℚ) : Fin 8 → ℚ
Vector `e_0 - v` used in the rational Householder reflection.
Plain-English reading. This definition gives the library's named construction or computation for “householder 8”. Rational 8-by-8 Householder block used by the hinted 'O_0' backend route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Rational 8-by-8 Householder block used by the hinted 'O_0' backend route. The later backend still has to supply rational unit-vector completions for the grid values and prove orthogonality of this block family.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:961. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.107●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.householder8 (v : Fin 8 → ℚ) : QuantumBlockEncoding.Matrix 8 8 ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.householder8 (v : Fin 8 → ℚ) : QuantumBlockEncoding.Matrix 8 8 ℚ
Rational 8-by-8 Householder block used by the hinted `O_0` backend route. The later backend still has to supply rational unit-vector completions for the grid values and prove orthogonality of this block family.
Plain-English reading. Lean checks the proposition indexed as “householder 8 e 0 minus norm sq”; the hypotheses and conclusion in the code panel fix its exact scope. Norm identity for 'e_0 - v' under the rational unit-vector hypothesis.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Norm identity for 'e_0 - v' under the rational unit-vector hypothesis.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:968. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.108●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus_normSq (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) = 2 * (1 - v QuantumBlockEncoding.CubicDiagonalOracle.householderZero)
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus_normSq (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) = 2 * (1 - v QuantumBlockEncoding.CubicDiagonalOracle.householderZero)
Norm identity for `e_0 - v` under the rational unit-vector hypothesis.
Plain-English reading. Lean checks the proposition indexed as “householder 8 e 0 minus norm sq ne zero”; the hypotheses and conclusion in the code panel fix its exact scope. The Householder denominator is nonzero when the clean coordinate is not one.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The Householder denominator is nonzero when the clean coordinate is not one.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:977. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.109●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus_normSq_ne_zero (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) (hnot : v QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) ≠ 0
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus_normSq_ne_zero (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) (hnot : v QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) (QuantumBlockEncoding.CubicDiagonalOracle.householder8E0Minus v) ≠ 0
The Householder denominator is nonzero when the clean coordinate is not one.
Plain-English reading. Lean checks the proposition indexed as “householder 8 clean entry”; the hypotheses and conclusion in the code panel fix its exact scope. Active leaf 'HINT-HOUSEHOLDER8-CLEAN-ENTRY': the clean entry of the rational Householder block is the first coordinate of the supplied unit vector.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Active leaf 'HINT-HOUSEHOLDER8-CLEAN-ENTRY': the clean entry of the rational Householder block is the first coordinate of the supplied unit vector.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:989. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.110●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8_clean_entry (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) (hnot : v QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.CubicDiagonalOracle.householder8 v QuantumBlockEncoding.CubicDiagonalOracle.householderZero QuantumBlockEncoding.CubicDiagonalOracle.householderZero = v QuantumBlockEncoding.CubicDiagonalOracle.householderZero
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8_clean_entry (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) (hnot : v QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.CubicDiagonalOracle.householder8 v QuantumBlockEncoding.CubicDiagonalOracle.householderZero QuantumBlockEncoding.CubicDiagonalOracle.householderZero = v QuantumBlockEncoding.CubicDiagonalOracle.householderZero
Active leaf `HINT-HOUSEHOLDER8-CLEAN-ENTRY`: the clean entry of the rational Householder block is the first coordinate of the supplied unit vector.
Plain-English reading. Lean checks the proposition indexed as “householder 8 is rational orthogonal”; the hypotheses and conclusion in the code panel fix its exact scope. Active leaf 'HINT-HOUSEHOLDER8-ORTHO': the rational 8-dimensional Householder block is orthogonal whenever the input vector has 'dot8 v v = 1' and does not equal the clean basis vector.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Active leaf 'HINT-HOUSEHOLDER8-ORTHO': the rational 8-dimensional Householder block is orthogonal whenever the input vector has 'dot8 v v = 1' and does not equal the clean basis vector.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1132. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.111●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8_isRationalOrthogonal (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) (hnot : v QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.householder8 v)
theorem QuantumBlockEncoding.CubicDiagonalOracle.householder8_isRationalOrthogonal (v : Fin 8 → ℚ) (hunit : QuantumBlockEncoding.CubicDiagonalOracle.dot8 v v = 1) (hnot : v QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.householder8 v)
Active leaf `HINT-HOUSEHOLDER8-ORTHO`: the rational 8-dimensional Householder block is orthogonal whenever the input vector has `dot8 v v = 1` and does not equal the clean basis vector.
Plain-English reading. This definition gives the library's named construction or computation for “controlled householder 8 system index”. System component for the task-local 'ancilla × system' direct-sum 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. System component for the task-local 'ancilla × system' direct-sum matrix.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1146. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.112●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex (n : ℕ) (idx : Fin (8 * QuantumBlockEncoding.gridSize n)) : Fin (QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex (n : ℕ) (idx : Fin (8 * QuantumBlockEncoding.gridSize n)) : Fin (QuantumBlockEncoding.gridSize n)
System component for the task-local `ancilla × system` direct-sum matrix.
Plain-English reading. This definition gives the library's named construction or computation for “controlled householder 8 ancilla index”. Ancilla component for the task-local 'ancilla × system' direct-sum 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Ancilla component for the task-local 'ancilla × system' direct-sum matrix.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1151. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.113●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex (n : ℕ) (idx : Fin (8 * QuantumBlockEncoding.gridSize n)) : Fin 8
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex (n : ℕ) (idx : Fin (8 * QuantumBlockEncoding.gridSize n)) : Fin 8
Ancilla component for the task-local `ancilla × system` direct-sum matrix.
Plain-English reading. This definition gives the library's named construction or computation for “controlled householder 8 embed”. Clean embedding for the controlled Householder direct sum.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Clean embedding for the controlled Householder direct sum.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1160. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.114●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → Fin (8 * QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → Fin (8 * QuantumBlockEncoding.gridSize n)
Clean embedding for the controlled Householder direct sum.
Plain-English reading. This definition gives the library's named construction or computation for “controlled householder 8 direct sum”. Task-local controlled direct sum of supplied Householder blocks over system branches.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Task-local controlled direct sum of supplied Householder blocks over system branches.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1165. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.115●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) : QuantumBlockEncoding.Matrix (8 * QuantumBlockEncoding.gridSize n) (8 * QuantumBlockEncoding.gridSize n) ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) : QuantumBlockEncoding.Matrix (8 * QuantumBlockEncoding.gridSize n) (8 * QuantumBlockEncoding.gridSize n) ℚ
Task-local controlled direct sum of supplied Householder blocks over system branches.
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 branch nontrivial of clean”; the hypotheses and conclusion in the code panel fix its exact scope. Grid branches for the linear diagonal input never have clean Householder coordinate equal to one.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Grid branches for the linear diagonal input never have clean Householder coordinate equal to one.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1268. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.116●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8_branchNontrivial_of_clean (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchClean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j) (j : Fin (QuantumBlockEncoding.gridSize n)) : v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8_branchNontrivial_of_clean (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchClean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j) (j : Fin (QuantumBlockEncoding.gridSize n)) : v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1
Grid branches for the linear diagonal input never have clean Householder coordinate equal to one.
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 direct sum clean entry”; the hypotheses and conclusion in the code panel fix its exact scope. Active leaf 'HINT-CONTROLLED-DIRECT-SUM': the clean block of the controlled Householder direct sum is the hinted linear diagonal operator.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Active leaf 'HINT-CONTROLLED-DIRECT-SUM': the clean block of the controlled Householder direct sum is the hinted linear diagonal operator.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1286. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.117●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_clean_entry (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchUnit : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) (branchClean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j) (branchNontrivial : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_clean_entry (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchUnit : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) (branchClean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j) (branchNontrivial : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)
Active leaf `HINT-CONTROLLED-DIRECT-SUM`: the clean block of the controlled Householder direct sum is the hinted linear diagonal operator.
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 direct sum column inner eq identity of system ne”; the hypotheses and conclusion in the code panel fix its exact scope. Column-inner bridge for the controlled Householder direct sum in the cross-branch case.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Column-inner bridge for the controlled Householder direct sum in the cross-branch case. This is a support leaf for 'HINT-CONTROLLED-DIRECT-SUM-ORTHO': if two columns belong to different system branches, every path contribution through the block-diagonal direct sum vanishes, so the column inner product agrees with the off-diagonal identity entry.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1360. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.118●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_columnInner_eq_identity_of_system_ne (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i ≠ QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.columnInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.Matrix.identity (8 * QuantumBlockEncoding.gridSize n) ℚ i j
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_columnInner_eq_identity_of_system_ne (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i ≠ QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.columnInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.Matrix.identity (8 * QuantumBlockEncoding.gridSize n) ℚ i j
Column-inner bridge for the controlled Householder direct sum in the cross-branch case. This is a support leaf for `HINT-CONTROLLED-DIRECT-SUM-ORTHO`: if two columns belong to different system branches, every path contribution through the block-diagonal direct sum vanishes, so the column inner product agrees with the off-diagonal identity entry.
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 direct sum column inner eq branch”; the hypotheses and conclusion in the code panel fix its exact scope. Support leaf 'CDS-COL-FOLD': inside one decoded system branch, the column inner product of the controlled direct sum is the column inner product of that branch's Householder block.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Support leaf 'CDS-COL-FOLD': inside one decoded system branch, the column inner product of the controlled direct sum is the column inner product of that branch's Householder block.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1799. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.119●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_columnInner_eq_branch (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i = QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.columnInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.BlockEncodingClassics.columnInner (QuantumBlockEncoding.CubicDiagonalOracle.householder8 (v (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i))) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n i) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n j)
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_columnInner_eq_branch (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i = QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.columnInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.BlockEncodingClassics.columnInner (QuantumBlockEncoding.CubicDiagonalOracle.householder8 (v (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i))) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n i) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n j)
Support leaf `CDS-COL-FOLD`: inside one decoded system branch, the column inner product of the controlled direct sum is the column inner product of that branch's Householder block.
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 direct sum row inner eq branch”; the hypotheses and conclusion in the code panel fix its exact scope. Support leaf 'CDS-ROW-FOLD': inside one decoded system branch, the row inner product of the controlled direct sum is the row inner product of that branch's Householder block.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Support leaf 'CDS-ROW-FOLD': inside one decoded system branch, the row inner product of the controlled direct sum is the row inner product of that branch's Householder block.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1918. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.120●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_rowInner_eq_branch (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i = QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.rowInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.BlockEncodingClassics.rowInner (QuantumBlockEncoding.CubicDiagonalOracle.householder8 (v (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i))) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n i) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n j)
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_rowInner_eq_branch (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i = QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.rowInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.BlockEncodingClassics.rowInner (QuantumBlockEncoding.CubicDiagonalOracle.householder8 (v (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i))) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n i) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8AncillaIndex n j)
Support leaf `CDS-ROW-FOLD`: inside one decoded system branch, the row inner product of the controlled direct sum is the row inner product of that branch's Householder block.
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 direct sum row inner eq identity of system ne”; the hypotheses and conclusion in the code panel fix its exact scope. Row-inner bridge for the controlled Householder direct sum in the cross-branch case.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Row-inner bridge for the controlled Householder direct sum in the cross-branch case. This completes the branch split needed by 'controlledHouseholder8DirectSum_isRationalOrthogonal': if two rows belong to different decoded system branches, no summation path can hit both blocks.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:1972. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.121●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_rowInner_eq_identity_of_system_ne (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i ≠ QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.rowInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.Matrix.identity (8 * QuantumBlockEncoding.gridSize n) ℚ i j
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_rowInner_eq_identity_of_system_ne (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (i j : Fin (8 * QuantumBlockEncoding.gridSize n)) (hsys : QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n i ≠ QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8SystemIndex n j) : QuantumBlockEncoding.BlockEncodingClassics.rowInner (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v) i j = QuantumBlockEncoding.Matrix.identity (8 * QuantumBlockEncoding.gridSize n) ℚ i j
Row-inner bridge for the controlled Householder direct sum in the cross-branch case. This completes the branch split needed by `controlledHouseholder8DirectSum_isRationalOrthogonal`: if two rows belong to different decoded system branches, no summation path can hit both blocks.
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 direct sum is rational orthogonal”; the hypotheses and conclusion in the code panel fix its exact scope. Active leaf 'HINT-CONTROLLED-DIRECT-SUM-ORTHO': branchwise rational orthogonality for the controlled direct sum of supplied 8-dimensional Householder blocks.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Active leaf 'HINT-CONTROLLED-DIRECT-SUM-ORTHO': branchwise rational orthogonality for the controlled direct sum of supplied 8-dimensional Householder blocks.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2012. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.122●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_isRationalOrthogonal (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchUnit : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) (branchNontrivial : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_isRationalOrthogonal (n : ℕ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchUnit : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) (branchNontrivial : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)
Active leaf `HINT-CONTROLLED-DIRECT-SUM-ORTHO`: branchwise rational orthogonality for the controlled direct sum of supplied 8-dimensional Householder blocks.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal rational completion”. Branch-vector completion contract for the rational Householder backend of the hinted linear diagonal input 'O_0'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Branch-vector completion contract for the rational Householder backend of the hinted linear diagonal input 'O_0'. This predicate records only the supplied vector family needed by the compiled Householder direct-sum support. Existence for every grid point remains blocked on the cited four-squares obligation.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2061. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.123●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion (n : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion (n : ℕ) : Prop
Branch-vector completion contract for the rational Householder backend of the hinted linear diagonal input `O_0`. This predicate records only the supplied vector family needed by the compiled Householder direct-sum support. Existence for every grid point remains blocked on the cited four-squares obligation.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal four square branch vector”. Branch vector obtained from a four-square completion of the residual '(2^n)^2 - j^2'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Branch vector obtained from a four-square completion of the residual '(2^n)^2 - j^2'. The first coordinate is the grid value 'j / 2^n'; the next four coordinates carry the rationalized square witnesses.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2074. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.124●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : Fin 8 → ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : Fin 8 → ℚ
Branch vector obtained from a four-square completion of the residual `(2^n)^2 - j^2`. The first coordinate is the grid value `j / 2^n`; the next four coordinates carry the rationalized square witnesses.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal four square branch vector clean”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2084. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.125●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector n j a b c d QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector n j a b c d QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j
Plain-English reading. Lean checks the proposition indexed as “linear diagonal four square branch vector unit”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2091. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.126●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector_unit (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) (hsq : QuantumBlockEncoding.gridSize n ^ 2 = ↑j ^ 2 + a ^ 2 + b ^ 2 + c ^ 2 + d ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector n j a b c d) (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector n j a b c d) = 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector_unit (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) (hsq : QuantumBlockEncoding.gridSize n ^ 2 = ↑j ^ 2 + a ^ 2 + b ^ 2 + c ^ 2 + d ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector n j a b c d) (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalFourSquareBranchVector n j a b c d) = 1
Plain-English reading. Lean checks the proposition indexed as “linear diagonal rational completion of four square witnesses”; the hypotheses and conclusion in the code panel fix its exact scope. Adapter from explicit four-square witnesses to the rational-completion predicate.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Adapter from explicit four-square witnesses to the rational-completion predicate. This is the local consumer of the still-external 'Nat.sum_four_squares' dependency; it does not prove that the witnesses exist.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2114. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.127●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_of_fourSquareWitnesses (n : ℕ) (a b c d : Fin (QuantumBlockEncoding.gridSize n) → ℕ) (hsq : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.gridSize n ^ 2 = ↑j ^ 2 + a j ^ 2 + b j ^ 2 + c j ^ 2 + d j ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_of_fourSquareWitnesses (n : ℕ) (a b c d : Fin (QuantumBlockEncoding.gridSize n) → ℕ) (hsq : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.gridSize n ^ 2 = ↑j ^ 2 + a j ^ 2 + b j ^ 2 + c j ^ 2 + d j ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n
Adapter from explicit four-square witnesses to the rational-completion predicate. This is the local consumer of the still-external `Nat.sum_four_squares` dependency; it does not prove that the witnesses exist.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal rational completion exists”; the hypotheses and conclusion in the code panel fix its exact scope. Every dyadic grid value has an unconditional rational unit-vector completion.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Every dyadic grid value has an unconditional rational unit-vector completion. The only number-theoretic ingredient is Lagrange's four-square theorem applied to 'gridSize n ^ 2 - j.val ^ 2'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2134. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.128●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_exists (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_exists (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n
Every dyadic grid value has an unconditional rational unit-vector completion. The only number-theoretic ingredient is Lagrange's four-square theorem applied to `gridSize n ^ 2 - j.val ^ 2`.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal rational completion branch data”; the hypotheses and conclusion in the code panel fix its exact scope. Adapter leaf for 'HINT-O0-RATIONAL-COMPLETION': a rational-completion witness also supplies the nontrivial clean-coordinate side condition needed by the Householder block.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Adapter leaf for 'HINT-O0-RATIONAL-COMPLETION': a rational-completion witness also supplies the nontrivial clean-coordinate side condition needed by the Householder block.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2156. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.129●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_branchData (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n) : ∃ v, (∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) ∧ (∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j) ∧ ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_branchData (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n) : ∃ v, (∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) ∧ (∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.gridPoint n j) ∧ ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1
Adapter leaf for `HINT-O0-RATIONAL-COMPLETION`: a rational-completion witness also supplies the nontrivial clean-coordinate side condition needed by the Householder block.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal rational completion backend support”; the hypotheses and conclusion in the code panel fix its exact scope. A rational-completion witness supplies the clean-block equality and rational orthogonality facts for the controlled Householder direct sum.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. A rational-completion witness supplies the clean-block equality and rational orthogonality facts for the controlled Householder direct sum. This still does not package a complete 'LinearDiagonalInputBEContract': cleanup integration, normalizer/resource fields, and a concrete existence theorem are separate proof obligations.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2176. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.130●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_backendSupport (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n) : ∃ v, (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n) ∧ QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalRationalCompletion_backendSupport (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalRationalCompletion n) : ∃ v, (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n) ∧ QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)
A rational-completion witness supplies the clean-block equality and rational orthogonality facts for the controlled Householder direct sum. This still does not package a complete `LinearDiagonalInputBEContract`: cleanup integration, normalizer/resource fields, and a concrete existence theorem are separate proof obligations.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal householder circuit”. Oracle-label circuit for the proved rational Householder realization of 'O_0'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Oracle-label circuit for the proved rational Householder realization of 'O_0'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2198. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.131●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderCircuit (_n : ℕ) : QuantumBlockEncoding.Circuit
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderCircuit (_n : ℕ) : QuantumBlockEncoding.Circuit
Oracle-label circuit for the proved rational Householder realization of `O_0`.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal householder resource”.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2201. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.132●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderResource (n : ℕ) : QuantumBlockEncoding.Resource
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderResource (n : ℕ) : QuantumBlockEncoding.Resource
Plain-English reading. Lean checks the proposition indexed as “linear diagonal householder resource eq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2204. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.133●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderResource_eq (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderResource n = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderResource_eq (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderResource n = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal householder input be contract”. Unconditional exact matrix-level block encoding of the hinted input 'O_0'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Unconditional exact matrix-level block encoding of the hinted input 'O_0'. Unlike the earlier interface-only payload, this certificate contains the concrete controlled Householder matrix, its rational orthogonality theorem, the clean-block theorem, the exact normalizer, and an auditable oracle-label resource equality.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2217. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.134●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract n (8 * QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract n (8 * QuantumBlockEncoding.gridSize n)
Unconditional exact matrix-level block encoding of the hinted input `O_0`. Unlike the earlier interface-only payload, this certificate contains the concrete controlled Householder matrix, its rational orthogonality theorem, the clean-block theorem, the exact normalizer, and an auditable oracle-label resource equality.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal householder input be contract clean eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2248. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.135●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract_clean_eq_target (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract_clean_eq_target (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator
Plain-English reading. Lean checks the proposition indexed as “linear diagonal householder input be contract complete”; the hypotheses and conclusion in the code panel fix its exact scope. Root certificate for the hinted input operator 'O_0'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Root certificate for the hinted input operator 'O_0'. This theorem exposes all matrix-level facts needed by a downstream polynomial consumer in one place, so the harness does not reopen the four-square, Householder, cleanup, normalizer, or resource leaves after they have compiled.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2261. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.136●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract_complete (n : ℕ) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).U ∧ (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).embed (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).U).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator ∧ (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).normalizer = 1 ∧ (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).resource = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract_complete (n : ℕ) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).U ∧ (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).embed (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).U).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).operator ∧ (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalTarget n).normalizer = 1 ∧ (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalHouseholderInputBEContract n).resource = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
Root certificate for the hinted input operator `O_0`. This theorem exposes all matrix-level facts needed by a downstream polynomial consumer in one place, so the harness does not reopen the four-square, Householder, cleanup, normalizer, or resource leaves after they have compiled.
Plain-English reading. This definition gives the library's named construction or computation for “approx diagonal operator”. Supplied diagonal matrix for the first Scenario 2 approximate route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Supplied diagonal matrix for the first Scenario 2 approximate route. The function 'q' is only a proposed rational diagonal value. Approximation to the cubic target and the operator-norm bridge remain separate obligations.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2284. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.137●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ
Supplied diagonal matrix for the first Scenario 2 approximate route. The function `q` is only a proposed rational diagonal value. Approximation to the cubic target and the operator-norm bridge remain separate obligations.
Plain-English reading. This definition gives the library's named construction or computation for “rat abs”. Task-local rational absolute value used before a project norm API exists.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Task-local rational absolute value used before a project norm API exists.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2289. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.138●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.ratAbs (x : ℚ) : ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.ratAbs (x : ℚ) : ℚ
Task-local rational absolute value used before a project norm API exists.
Plain-English reading. This definition gives the library's named construction or computation for “is diagonal rat matrix”. Project-local rational matrices whose off-diagonal entries are zero.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Project-local rational matrices whose off-diagonal entries are zero.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2292. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.139●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix (dim : ℕ) (A : QuantumBlockEncoding.Matrix dim dim ℚ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix (dim : ℕ) (A : QuantumBlockEncoding.Matrix dim dim ℚ) : Prop
Project-local rational matrices whose off-diagonal entries are zero.
Plain-English reading. This record groups the data and proof fields needed for “diagonal rat operator norm bridge”. A proposition-valued field is a requirement until a constructor supplies it. Typed contract for the missing rational-matrix operator-norm bridge.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Typed contract for the missing rational-matrix operator-norm bridge. This structure is deliberately conditional: it does not assert that the bridge is already available in this repository. A future Mathlib-backed proof or a human-accepted external contract must supply this record before an approximate block-encoding certificate may consume the norm bound.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2303. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.140●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.DiagonalRatOperatorNormBridge (dim : ℕ) : Type
structure QuantumBlockEncoding.CubicDiagonalOracle.DiagonalRatOperatorNormBridge (dim : ℕ) : Type
Typed contract for the missing rational-matrix operator-norm bridge. This structure is deliberately conditional: it does not assert that the bridge is already available in this repository. A future Mathlib-backed proof or a human-accepted external contract must supply this record before an approximate block-encoding certificate may consume the norm bound.
Fields
opNormErrorAtMost : QuantumBlockEncoding.Matrix dim dim ℚ → QuantumBlockEncoding.Matrix dim dim ℚ → ℚ → Prop
diagonal_entrywise_error_operatorNorm_le : ∀ (A B : QuantumBlockEncoding.Matrix dim dim ℚ) (epsilon : ℚ), QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix dim A → QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix dim B → 0 ≤ epsilon → (∀ (j : Fin dim), QuantumBlockEncoding.CubicDiagonalOracle.ratAbs (A j j - B j j) ≤ epsilon) → self.opNormErrorAtMost A B epsilon
Plain-English reading. This definition gives the library's named construction or computation for “rat squared euclidean norm”. Squared Euclidean norm on project-local finite rational vectors.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Squared Euclidean norm on project-local finite rational vectors.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2314. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.141●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.ratSquaredEuclideanNorm {dim : ℕ} (v : Fin dim → ℚ) : ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.ratSquaredEuclideanNorm {dim : ℕ} (v : Fin dim → ℚ) : ℚ
Squared Euclidean norm on project-local finite rational vectors.
Plain-English reading. This definition gives the library's named construction or computation for “rat matrix error action”. Action of the matrix error 'A - B' on a finite rational vector.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Action of the matrix error 'A - B' on a finite rational vector.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2318. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.142●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.ratMatrixErrorAction {dim : ℕ} (A B : QuantumBlockEncoding.Matrix dim dim ℚ) (v : Fin dim → ℚ) : Fin dim → ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.ratMatrixErrorAction {dim : ℕ} (A B : QuantumBlockEncoding.Matrix dim dim ℚ) (v : Fin dim → ℚ) : Fin dim → ℚ
Action of the matrix error `A - B` on a finite rational vector.
Plain-English reading. This definition gives the library's named construction or computation for “rat euclidean operator norm error at most”. Non-vacuous squared Euclidean induced operator-norm error semantics.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Non-vacuous squared Euclidean induced operator-norm error semantics. For nonnegative 'epsilon', this states '||(A-B)v||₂² ≤ ||epsilon v||₂²' for every rational vector 'v'. Squared norms avoid introducing square roots while retaining the finite-dimensional Euclidean operator-norm statement.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2331. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.143●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost {dim : ℕ} (A B : QuantumBlockEncoding.Matrix dim dim ℚ) (epsilon : ℚ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost {dim : ℕ} (A B : QuantumBlockEncoding.Matrix dim dim ℚ) (epsilon : ℚ) : Prop
Non-vacuous squared Euclidean induced operator-norm error semantics. For nonnegative `epsilon`, this states `||(A-B)v||₂² ≤ ||epsilon v||₂²` for every rational vector `v`. Squared norms avoid introducing square roots while retaining the finite-dimensional Euclidean operator-norm statement.
Plain-English reading. Lean checks the proposition indexed as “rat matrix error action eq diagonal”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2453. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.144●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.ratMatrixErrorAction_eq_diagonal {dim : ℕ} (A B : QuantumBlockEncoding.Matrix dim dim ℚ) (v : Fin dim → ℚ) (row : Fin dim) (hA : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix dim A) (hB : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix dim B) : QuantumBlockEncoding.CubicDiagonalOracle.ratMatrixErrorAction A B v row = (A row row - B row row) * v row
theorem QuantumBlockEncoding.CubicDiagonalOracle.ratMatrixErrorAction_eq_diagonal {dim : ℕ} (A B : QuantumBlockEncoding.Matrix dim dim ℚ) (v : Fin dim → ℚ) (row : Fin dim) (hA : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix dim A) (hB : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix dim B) : QuantumBlockEncoding.CubicDiagonalOracle.ratMatrixErrorAction A B v row = (A row row - B row row) * v row
Plain-English reading. Lean checks the proposition indexed as “rat abs nonneg”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2468. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.145●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.ratAbs_nonneg (x : ℚ) : 0 ≤ QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x
theorem QuantumBlockEncoding.CubicDiagonalOracle.ratAbs_nonneg (x : ℚ) : 0 ≤ QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x
Plain-English reading. Lean checks the proposition indexed as “rat mul self eq rat abs mul self”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2472. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.146●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_eq_ratAbs_mul_self (x : ℚ) : x * x = QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x * QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_eq_ratAbs_mul_self (x : ℚ) : x * x = QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x * QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x
Plain-English reading. Lean checks the proposition indexed as “rat mul self nonneg”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2477. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.147●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_nonneg (x : ℚ) : 0 ≤ x * x
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_nonneg (x : ℚ) : 0 ≤ x * x
Plain-English reading. Lean checks the proposition indexed as “rat mul self le of abs le”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2481. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.148●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_le_of_abs_le (x epsilon : ℚ) (hepsilon : 0 ≤ epsilon) (habs : QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x ≤ epsilon) : x * x ≤ epsilon * epsilon
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_le_of_abs_le (x epsilon : ℚ) (hepsilon : 0 ≤ epsilon) (habs : QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x ≤ epsilon) : x * x ≤ epsilon * epsilon
Plain-English reading. Lean checks the proposition indexed as “rat mul self vector le of abs le”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2499. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.149●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_vector_le_of_abs_le (x epsilon value : ℚ) (hepsilon : 0 ≤ epsilon) (habs : QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x ≤ epsilon) : x * value * (x * value) ≤ epsilon * value * (epsilon * value)
theorem QuantumBlockEncoding.CubicDiagonalOracle.rat_mul_self_vector_le_of_abs_le (x epsilon value : ℚ) (hepsilon : 0 ≤ epsilon) (habs : QuantumBlockEncoding.CubicDiagonalOracle.ratAbs x ≤ epsilon) : x * value * (x * value) ≤ epsilon * value * (epsilon * value)
Plain-English reading. This definition gives the library's named construction or computation for “rat euclidean diagonal operator norm bridge”. Concrete proof that diagonal entrywise bounds imply the squared Euclidean bound.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Concrete proof that diagonal entrywise bounds imply the squared Euclidean bound.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2509. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.150●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanDiagonalOperatorNormBridge (dim : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.DiagonalRatOperatorNormBridge dim
def QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanDiagonalOperatorNormBridge (dim : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.DiagonalRatOperatorNormBridge dim
Concrete proof that diagonal entrywise bounds imply the squared Euclidean bound.
Plain-English reading. Lean checks the proposition indexed as “rat euclidean operator norm error at most not vacuous”; the hypotheses and conclusion in the code panel fix its exact scope. The local Euclidean error predicate is observably non-vacuous.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The local Euclidean error predicate is observably non-vacuous.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2525. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.151●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost_not_vacuous : ¬QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost (QuantumBlockEncoding.Matrix.identity 1 ℚ) (QuantumBlockEncoding.Matrix.zero 1 1 ℚ) 0
theorem QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost_not_vacuous : ¬QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost (QuantumBlockEncoding.Matrix.identity 1 ℚ) (QuantumBlockEncoding.Matrix.zero 1 1 ℚ) 0
The local Euclidean error predicate is observably non-vacuous.
Plain-English reading. Lean checks the proposition indexed as “approx diagonal operator is diagonal”; the hypotheses and conclusion in the code panel fix its exact scope. The supplied approximate diagonal matrix has zero off-diagonal entries.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The supplied approximate diagonal matrix has zero off-diagonal entries.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2539. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.152●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_isDiagonal (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q)
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_isDiagonal (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q)
The supplied approximate diagonal matrix has zero off-diagonal entries.
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal operator is diagonal”; the hypotheses and conclusion in the code panel fix its exact scope. The exact cubic diagonal target has zero off-diagonal entries.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The exact cubic diagonal target has zero off-diagonal entries.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2546. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.153●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator_isDiagonal (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator_isDiagonal (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.IsDiagonalRatMatrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n)
The exact cubic diagonal target has zero off-diagonal entries.
Plain-English reading. This definition gives the library's named construction or computation for “approx diagonal entrywise error at most”. Entrywise scalar-error predicate for the Scenario 2 approximate diagonal route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Entrywise scalar-error predicate for the Scenario 2 approximate diagonal route. This is strictly weaker than the open operator-norm bridge: it says only that each supplied diagonal value 'q j' is close to the target cubic amplitude.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2558. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.154●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) : Prop
Entrywise scalar-error predicate for the Scenario 2 approximate diagonal route. This is strictly weaker than the open operator-norm bridge: it says only that each supplied diagonal value `q j` is close to the target cubic amplitude.
Plain-English reading. Lean checks the proposition indexed as “approx diagonal operator entrywise error”; the hypotheses and conclusion in the code panel fix its exact scope. Local entrywise bridge for 'APPROX-DIAG-NORM': diagonal scalar errors transfer to every matrix entry of the supplied diagonal operator.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Local entrywise bridge for 'APPROX-DIAG-NORM': diagonal scalar errors transfer to every matrix entry of the supplied diagonal operator. This does not prove an operator-norm bound; it is the reusable finite-matrix side of the still-open diagonal norm obligation.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2570. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.155●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_entrywise_error (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) (hdiag : QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost n q epsilon) (hepsilon : 0 ≤ epsilon) (row col : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicDiagonalOracle.ratAbs (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q row col - QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n row col) ≤ epsilon
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_entrywise_error (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) (hdiag : QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost n q epsilon) (hepsilon : 0 ≤ epsilon) (row col : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicDiagonalOracle.ratAbs (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q row col - QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n row col) ≤ epsilon
Local entrywise bridge for `APPROX-DIAG-NORM`: diagonal scalar errors transfer to every matrix entry of the supplied diagonal operator. This does not prove an operator-norm bound; it is the reusable finite-matrix side of the still-open diagonal norm obligation.
Plain-English reading. Lean checks the proposition indexed as “approx diagonal operator operator norm error of contract”; the hypotheses and conclusion in the code panel fix its exact scope. Conditional adapter from the compiled diagonal entrywise theorem to the task-local operator-norm contract.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Conditional adapter from the compiled diagonal entrywise theorem to the task-local operator-norm contract. This theorem is the narrow QBE-side consumer promised by the proof DAG. It does not close 'DIAGONAL-ENTRYWISE-ERROR-OPNORM' unconditionally; the supplied 'bridge' remains the explicit external/classical obligation.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2597. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.156●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_operatorNorm_error_of_contract (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) (bridge : QuantumBlockEncoding.CubicDiagonalOracle.DiagonalRatOperatorNormBridge (QuantumBlockEncoding.gridSize n)) (hdiag : QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost n q epsilon) (hepsilon : 0 ≤ epsilon) : bridge.opNormErrorAtMost (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n) epsilon
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_operatorNorm_error_of_contract (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) (bridge : QuantumBlockEncoding.CubicDiagonalOracle.DiagonalRatOperatorNormBridge (QuantumBlockEncoding.gridSize n)) (hdiag : QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost n q epsilon) (hepsilon : 0 ≤ epsilon) : bridge.opNormErrorAtMost (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n) epsilon
Conditional adapter from the compiled diagonal entrywise theorem to the task-local operator-norm contract. This theorem is the narrow QBE-side consumer promised by the proof DAG. It does not close `DIAGONAL-ENTRYWISE-ERROR-OPNORM` unconditionally; the supplied `bridge` remains the explicit external/classical obligation.
Plain-English reading. Lean checks the proposition indexed as “approx diagonal operator operator norm error”; the hypotheses and conclusion in the code panel fix its exact scope. Unconditional local Euclidean operator-norm bound for the supplied diagonal approximation.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Unconditional local Euclidean operator-norm bound for the supplied diagonal approximation. This closes the former external bridge gap using the concrete finite rational semantics above.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2619. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.157●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_operatorNorm_error (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) (hdiag : QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost n q epsilon) (hepsilon : 0 ≤ epsilon) : QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n) epsilon
theorem QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator_operatorNorm_error (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (epsilon : ℚ) (hdiag : QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalEntrywiseErrorAtMost n q epsilon) (hepsilon : 0 ≤ epsilon) : QuantumBlockEncoding.CubicDiagonalOracle.ratEuclideanOperatorNormErrorAtMost (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n) epsilon
Unconditional local Euclidean operator-norm bound for the supplied diagonal approximation. This closes the former external bridge gap using the concrete finite rational semantics above.
Plain-English reading. This definition gives the library's named construction or computation for “rational circle branch vector”. Two-coordinate rational unit-circle branch vector for the approximate controlled-Householder route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Two-coordinate rational unit-circle branch vector for the approximate controlled-Householder route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2635. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.158●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector (q r : ℚ) : Fin 8 → ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector (q r : ℚ) : Fin 8 → ℚ
Two-coordinate rational unit-circle branch vector for the approximate controlled-Householder route.
Plain-English reading. Lean checks the proposition indexed as “rational circle branch vector clean”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2641. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.159●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector_clean (q r : ℚ) : QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector q r QuantumBlockEncoding.CubicDiagonalOracle.householderZero = q
theorem QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector_clean (q r : ℚ) : QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector q r QuantumBlockEncoding.CubicDiagonalOracle.householderZero = q
Plain-English reading. Lean checks the proposition indexed as “rational circle branch vector unit”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2645. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.160●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector_unit (q r : ℚ) (hcircle : q ^ 2 + r ^ 2 = 1) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector q r) (QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector q r) = 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector_unit (q r : ℚ) (hcircle : q ^ 2 + r ^ 2 = 1) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector q r) (QuantumBlockEncoding.CubicDiagonalOracle.rationalCircleBranchVector q r) = 1
Plain-English reading. Lean checks the proposition indexed as “controlled householder 8 direct sum clean entry of branch value”; the hypotheses and conclusion in the code panel fix its exact scope. Approximate-route support leaf 'APPROX-CDS-CLEAN': if each controlled Householder branch has clean coordinate 'q j', then the clean block is the supplied diagonal matrix 'diag(q)'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Approximate-route support leaf 'APPROX-CDS-CLEAN': if each controlled Householder branch has clean coordinate 'q j', then the clean block is the supplied diagonal matrix 'diag(q)'. This is not an approximate certificate. It proves only the local clean-block shape for supplied branch vectors.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2661. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.161●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_clean_entry_of_branchValue (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchUnit : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) (branchClean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = q j) (branchNontrivial : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q)
theorem QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum_clean_entry_of_branchValue (n : ℕ) (q : Fin (QuantumBlockEncoding.gridSize n) → ℚ) (v : Fin (QuantumBlockEncoding.gridSize n) → Fin 8 → ℚ) (branchUnit : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.CubicDiagonalOracle.dot8 (v j) (v j) = 1) (branchClean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero = q j) (branchNontrivial : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), v j QuantumBlockEncoding.CubicDiagonalOracle.householderZero ≠ 1) : (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.approxDiagonalOperator n q)
Approximate-route support leaf `APPROX-CDS-CLEAN`: if each controlled Householder branch has clean coordinate `q j`, then the clean block is the supplied diagonal matrix `diag(q)`. This is not an approximate certificate. It proves only the local clean-block shape for supplied branch vectors.
Plain-English reading. This definition gives the library's named construction or computation for “cubic diagonal four square branch vector”. Rational branch vector whose clean coordinate is '(j / 2^n)^3'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Rational branch vector whose clean coordinate is '(j / 2^n)^3'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2709. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.162●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : Fin 8 → ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : Fin 8 → ℚ
Rational branch vector whose clean coordinate is `(j / 2^n)^3`.
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal four square branch vector clean”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2719. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.163●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector n j a b c d QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector n j a b c d QuantumBlockEncoding.CubicDiagonalOracle.householderZero = QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal four square branch vector unit”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2728. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.164●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector_unit (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) (hsq : QuantumBlockEncoding.gridSize n ^ 6 = ↑j ^ 6 + a ^ 2 + b ^ 2 + c ^ 2 + d ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector n j a b c d) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector n j a b c d) = 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector_unit (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (a b c d : ℕ) (hsq : QuantumBlockEncoding.gridSize n ^ 6 = ↑j ^ 6 + a ^ 2 + b ^ 2 + c ^ 2 + d ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.dot8 (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector n j a b c d) (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalFourSquareBranchVector n j a b c d) = 1
Plain-English reading. This definition gives the library's named construction or computation for “cubic diagonal rational completion”.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2746. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.165●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalRationalCompletion (n : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalRationalCompletion (n : ℕ) : Prop
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal rational completion of four square witnesses”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2752. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.166●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalRationalCompletion_of_fourSquareWitnesses (n : ℕ) (a b c d : Fin (QuantumBlockEncoding.gridSize n) → ℕ) (hsq : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.gridSize n ^ 6 = ↑j ^ 6 + a j ^ 2 + b j ^ 2 + c j ^ 2 + d j ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalRationalCompletion n
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalRationalCompletion_of_fourSquareWitnesses (n : ℕ) (a b c d : Fin (QuantumBlockEncoding.gridSize n) → ℕ) (hsq : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), QuantumBlockEncoding.gridSize n ^ 6 = ↑j ^ 6 + a j ^ 2 + b j ^ 2 + c j ^ 2 + d j ^ 2) : QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalRationalCompletion n
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal rational completion exists”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2767. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.167●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalRationalCompletion_exists (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalRationalCompletion n
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalRationalCompletion_exists (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalRationalCompletion n
Plain-English reading. Lean checks the proposition indexed as “cubic amplitude lt one”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2784. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.168●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicAmplitude_lt_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j < 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicAmplitude_lt_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j < 1
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal rational completion backend support”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2800. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.169●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalRationalCompletion_backendSupport (n : ℕ) : ∃ v, (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n) ∧ QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalRationalCompletion_backendSupport (n : ℕ) : ∃ v, (QuantumBlockEncoding.BlockEncodingClassics.cleanBlockBy (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8Embed n) (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n) ∧ QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.controlledHouseholder8DirectSum n v)
Plain-English reading. This record groups the data and proof fields needed for “cubic diagonal exact be contract”. A proposition-valued field is a requirement until a constructor supplies it. Strong exact certificate for the cubic target, including orthogonality.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Strong exact certificate for the cubic target, including orthogonality.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2828. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.170●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalExactBEContract (n total : ℕ) : Type
structure QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalExactBEContract (n total : ℕ) : Type
Strong exact certificate for the cubic target, including orthogonality.
Fields
exactPayload : QuantumBlockEncoding.BlockEncodingClassics.ExactCleanBlock (QuantumBlockEncoding.gridSize n) total
unitaryProof : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal self.exactPayload.U
normalizerProof : (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).normalizer = 1
cleanupStatement : Prop
cleanupProof : self.cleanupStatement
resource : QuantumBlockEncoding.Resource
resourceStatement : Prop
resourceProof : self.resourceStatement
Plain-English reading. This definition gives the library's named construction or computation for “cubic diagonal householder exact be contract”.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2838. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.171●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalExactBEContract n (8 * QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.CubicDiagonalExactBEContract n (8 * QuantumBlockEncoding.gridSize n)
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal householder exact be contract clean eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:2867. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.172●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract_clean_eq_target (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract_clean_eq_target (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. Lean checks the proposition indexed as “cubic diagonal householder exact be contract complete”; the hypotheses and conclusion in the code panel fix its exact scope. Unconditional exact root certificate for the cubic diagonal operator.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Unconditional exact root certificate for the cubic diagonal operator. The conjunction deliberately includes the unitary predicate, clean-block target, normalizer, and resource equality; a clean-block-only arithmetic wrapper is not sufficient to close an operator block-encoding task.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:2879. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.173●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract_complete (n : ℕ) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).exactPayload.U ∧ (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator ∧ (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).normalizer = 1 ∧ (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).resource = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract_complete (n : ℕ) : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).exactPayload.U ∧ (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).exactPayload.clean.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator ∧ (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).normalizer = 1 ∧ (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalHouseholderExactBEContract n).resource = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
Unconditional exact root certificate for the cubic diagonal operator. The conjunction deliberately includes the unitary predicate, clean-block target, normalizer, and resource equality; a clean-block-only arithmetic wrapper is not sufficient to close an operator block-encoding task.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal cube eq cubic diagonal operator”; the hypotheses and conclusion in the code panel fix its exact scope. Target-identification leaf for the hinted route: the project-local matrix cube of 'O_0' is the cubic diagonal target 'D_n'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Target-identification leaf for the hinted route: the project-local matrix cube of 'O_0' is the cubic diagonal target 'D_n'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3001. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.174●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonal_cube_eq_cubicDiagonalOperator (n : ℕ) : (((QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n).mul (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)).mul (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonal_cube_eq_cubicDiagonalOperator (n : ℕ) : (((QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n).mul (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)).mul (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)).PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n)
Target-identification leaf for the hinted route: the project-local matrix cube of `O_0` is the cubic diagonal target `D_n`.
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal cubic product certificate”. The compiled non-QSVT polynomial consumer for the human hint.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The compiled non-QSVT polynomial consumer for the human hint. It reuses the exact 'O_0' clean-block payload three times through the library's product card.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3022. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.175●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate (n : ℕ) : QuantumBlockEncoding.BlockEncodingClassics.LCUCertificate (QuantumBlockEncoding.gridSize n)
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate (n : ℕ) : QuantumBlockEncoding.BlockEncodingClassics.LCUCertificate (QuantumBlockEncoding.gridSize n)
The compiled non-QSVT polynomial consumer for the human hint. It reuses the exact `O_0` clean-block payload three times through the library's product card.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal cubic product certificate target eq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3030. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.176●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate_target_eq (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate n).target.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate_target_eq (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate n).target.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. Lean checks the proposition indexed as “linear diagonal cubic product certificate clean eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3040. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.177●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate_clean_eq_target (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate n).cleanBlock.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate_clean_eq_target (n : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalCubicProductCertificate n).cleanBlock.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. This definition gives the library's named construction or computation for “cubic qsvt polynomial”. The polynomial selected by the human-hinted QSVT route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The polynomial selected by the human-hinted QSVT route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3050. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.178●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTPolynomial (x : ℚ) : ℚ
def QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTPolynomial (x : ℚ) : ℚ
The polynomial selected by the human-hinted QSVT route.
Plain-English reading. Lean checks the proposition indexed as “cubic qsvt polynomial grid point abs le one”; the hypotheses and conclusion in the code panel fix its exact scope. The cubic QSVT polynomial is bounded on every spectral value used by 'O_0'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The cubic QSVT polynomial is bounded on every spectral value used by 'O_0'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3053. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.179●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTPolynomial_gridPoint_abs_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : (QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTPolynomial (QuantumBlockEncoding.CubicStatePreparation.gridPoint n j)).abs ≤ 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTPolynomial_gridPoint_abs_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : (QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTPolynomial (QuantumBlockEncoding.CubicStatePreparation.gridPoint n j)).abs ≤ 1
The cubic QSVT polynomial is bounded on every spectral value used by `O_0`.
Plain-English reading. This record groups the data and proof fields needed for “cubic qsvt local side conditions”. A proposition-valued field is a requirement until a constructor supplies it. Locally checkable side conditions for the cubic polynomial on the 'O_0' spectrum.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Locally checkable side conditions for the cubic polynomial on the 'O_0' spectrum.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3064. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.180●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTLocalSideConditions (n : ℕ) : Type
structure QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTLocalSideConditions (n : ℕ) : Type
Locally checkable side conditions for the cubic polynomial on the `O_0` spectrum.
Fields
degree : ℕ
degree_eq : self.degree = 3
oddParity : Bool
oddParity_eq : self.oddParity = true
boundedOnInputSpectrum : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), (QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTPolynomial (QuantumBlockEncoding.CubicStatePreparation.gridPoint n j)).abs ≤ 1
Plain-English reading. This definition gives the library's named construction or computation for “cubic qsvt local side conditions”.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3073. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.181●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTLocalSideConditions (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTLocalSideConditions n
def QuantumBlockEncoding.CubicDiagonalOracle.cubicQSVTLocalSideConditions (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTLocalSideConditions n
Plain-English reading. This record groups the data and proof fields needed for “cubic qsvt external semantics”. A proposition-valued field is a requirement until a constructor supplies it. Single external boundary for the hinted route.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Single external boundary for the hinted route. The supplier must provide a certified 'O_0' block encoding and the transformed clean block. This interface replaces unconstrained QSVT proof search: all project-local leaves are compiled, while phase synthesis and the QSVT semantic theorem remain one explicit dependency.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3091. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.182●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics (n inputTotal outputTotal : ℕ) : Type
structure QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics (n inputTotal outputTotal : ℕ) : Type
Single external boundary for the hinted route. The supplier must provide a certified `O_0` block encoding and the transformed clean block. This interface replaces unconstrained QSVT proof search: all project-local leaves are compiled, while phase synthesis and the QSVT semantic theorem remain one explicit dependency.
Fields
input : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalInputBEContract n inputTotal
output : QuantumBlockEncoding.BlockEncodingClassics.ExactCleanBlock (QuantumBlockEncoding.gridSize n) outputTotal
outputUnitary : QuantumBlockEncoding.BlockEncodingClassics.IsRationalOrthogonal self.output.U
outputIsCubicTransform : self.output.A.PointwiseEq (((QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n).mul (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n)).mul (QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalOperator n))
globalPolynomialAdmissibility : Prop
globalPolynomialAdmissibilityDescription : String
globalPolynomialAdmissibilityProof : self.globalPolynomialAdmissibility
cleanupStatement : Prop
cleanupDescription : String
cleanupProof : self.cleanupStatement
resource : QuantumBlockEncoding.Resource
resourceStatement : Prop
resourceProof : self.resourceStatement
Plain-English reading. Lean checks the proposition indexed as “output eq cubic 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3112. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.183●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics.output_eq_cubic_target {n inputTotal outputTotal : ℕ} (semantics : QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics n inputTotal outputTotal) : semantics.output.A.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics.output_eq_cubic_target {n inputTotal outputTotal : ℕ} (semantics : QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics n inputTotal outputTotal) : semantics.output.A.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. This definition gives the library's named construction or computation for “consumer contract”. Instantiate the generic consumer boundary without reopening QSVT search.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Instantiate the generic consumer boundary without reopening QSVT search.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3120. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.184●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics.consumerContract {n inputTotal outputTotal : ℕ} (semantics : QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics n inputTotal outputTotal) : QuantumBlockEncoding.BlockEncodingClassics.QSVTConsumerContract (QuantumBlockEncoding.gridSize n) inputTotal
def QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics.consumerContract {n inputTotal outputTotal : ℕ} (semantics : QuantumBlockEncoding.CubicDiagonalOracle.CubicQSVTExternalSemantics n inputTotal outputTotal) : QuantumBlockEncoding.BlockEncodingClassics.QSVTConsumerContract (QuantumBlockEncoding.gridSize n) inputTotal
Instantiate the generic consumer boundary without reopening QSVT search.
Plain-English reading. This definition gives the library's named construction or computation for “amplitude oracle layout”. One signal qubit and no pure workspace at the oracle-label tier.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. One signal qubit and no pure workspace at the oracle-label tier.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3138. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.185●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleLayout (n : ℕ) : QuantumBlockEncoding.RegisterLayout
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleLayout (n : ℕ) : QuantumBlockEncoding.RegisterLayout
One signal qubit and no pure workspace at the oracle-label tier.
Plain-English reading. This definition gives the library's named construction or computation for “amplitude oracle circuit”. Oracle-level exact diagonal amplitude transcript.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Oracle-level exact diagonal amplitude transcript.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3144. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.186●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleCircuit (_n : ℕ) : QuantumBlockEncoding.Circuit
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleCircuit (_n : ℕ) : QuantumBlockEncoding.Circuit
Oracle-level exact diagonal amplitude transcript.
Plain-English reading. This definition gives the library's named construction or computation for “amplitude oracle resource”. Resource of the oracle-label diagonal candidate.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Resource of the oracle-label diagonal candidate.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3148. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.187●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResource (n : ℕ) : QuantumBlockEncoding.Resource
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResource (n : ℕ) : QuantumBlockEncoding.Resource
Resource of the oracle-label diagonal candidate.
Plain-English reading. This definition gives the library's named construction or computation for “amplitude oracle cost”. Candidate score for the oracle-label diagonal candidate.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Candidate score for the oracle-label diagonal candidate.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3152. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.188●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleCost (n : ℕ) : QuantumBlockEncoding.BlockEncodingCost
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleCost (n : ℕ) : QuantumBlockEncoding.BlockEncodingCost
Candidate score for the oracle-label diagonal candidate.
Plain-English reading. This definition gives the library's named construction or computation for “amplitude oracle resource tuple”. Tuple in the QBE score order '(gateCount, depth, auxiliaryQubits, oracleCalls)'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Tuple in the QBE score order '(gateCount, depth, auxiliaryQubits, oracleCalls)'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3157. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.189●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResourceTuple (n : ℕ) : ℕ × ℕ × ℕ × ℕ
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResourceTuple (n : ℕ) : ℕ × ℕ × ℕ × ℕ
Tuple in the QBE score order `(gateCount, depth, auxiliaryQubits, oracleCalls)`.
Plain-English reading. Lean checks the proposition indexed as “amplitude oracle resource eq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3164. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.190●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResource_eq (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResource n = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResource_eq (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResource n = QuantumBlockEncoding.Resource.ofCountsWithDepth 0 0 1 0 1
Plain-English reading. Lean checks the proposition indexed as “amplitude oracle resource tuple eq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3168. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.191●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResourceTuple_eq (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResourceTuple n = (1, 1, 1, 1)
theorem QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResourceTuple_eq (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleResourceTuple n = (1, 1, 1, 1)
Plain-English reading. This definition gives the library's named construction or computation for “diagonal clean block contract”. Clean-block contract for the diagonal cubic candidate.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Clean-block contract for the diagonal cubic candidate.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3175. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.192●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Clean-block contract for the diagonal cubic candidate.
Plain-English reading. Lean checks the proposition indexed as “diagonal clean block contract pointwise eq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3181. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.193●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract_pointwise_eq (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract_pointwise_eq (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalOperator n)
Plain-English reading. Lean checks the proposition indexed as “primitive oracle clean block eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3188. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.194●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveOracleCleanBlock_eq_target (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveOracleCleanBlock_eq_target (n : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract n block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. Lean checks the proposition indexed as “cubic amplitude le one”; the hypotheses and conclusion in the code panel fix its exact scope. Amplitude range needed by the one-signal diagonal construction.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Amplitude range needed by the one-signal diagonal construction.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3196. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.195●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicAmplitude_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j ≤ 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicAmplitude_le_one (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j ≤ 1
Amplitude range needed by the one-signal diagonal construction.
Plain-English reading. Lean checks the proposition indexed as “cubic amplitude nonneg”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3203. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.196●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicAmplitude_nonneg (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : 0 ≤ QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j
theorem QuantumBlockEncoding.CubicDiagonalOracle.cubicAmplitude_nonneg (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : 0 ≤ QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j
Plain-English reading. This definition gives the library's named construction or computation for “primitive amplitude oracle dimension”. Full matrix dimension of the unexpanded one-signal primitive oracle.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Full matrix dimension of the unexpanded one-signal primitive oracle.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3210. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.197●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension (n : ℕ) : ℕ
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension (n : ℕ) : ℕ
Full matrix dimension of the unexpanded one-signal primitive oracle.
Plain-English reading. This opaque declaration exposes the interface for “primitive amplitude oracle unitary” while keeping its implementation from unfolding automatically. External primitive matrix supplied by the oracle-label tier.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. External primitive matrix supplied by the oracle-label tier. This is only a named object for the semantic contract below. The current file does not prove that this opaque matrix is a gate-expanded unitary.
Declaration kind. opaque.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3219. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.198●1 definition
Associated Lean declarations
-
opaquedefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
opaque QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleUnitary (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) ℚ
opaque QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleUnitary (n : ℕ) : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) ℚ
External primitive matrix supplied by the oracle-label tier. This is only a named object for the semantic contract below. The current file does not prove that this opaque matrix is a gate-expanded unitary.
Plain-English reading. This opaque declaration exposes the interface for “primitive amplitude oracle is unitary” while keeping its implementation from unfolding automatically. Explicit unitarity obligation for the primitive oracle-label 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Explicit unitarity obligation for the primitive oracle-label matrix.
Declaration kind. opaque.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3224. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.199●1 definition
Associated Lean declarations
-
opaquedefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
opaque QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleIsUnitary (n : ℕ) (unitary : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) ℚ) : Prop
opaque QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleIsUnitary (n : ℕ) (unitary : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) ℚ) : Prop
Explicit unitarity obligation for the primitive oracle-label matrix.
Plain-English reading. This opaque declaration exposes the interface for “primitive amplitude oracle clean block extracts” while keeping its implementation from unfolding automatically. Explicit clean-block extraction obligation for the primitive oracle-label 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Explicit clean-block extraction obligation for the primitive oracle-label matrix.
Declaration kind. opaque.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3229. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.200●1 definition
Associated Lean declarations
-
opaquedefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
opaque QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCleanBlockExtracts (n : ℕ) (unitary : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) ℚ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
opaque QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCleanBlockExtracts (n : ℕ) (unitary : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleDimension n) ℚ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Explicit clean-block extraction obligation for the primitive oracle-label matrix.
Plain-English reading. This definition gives the library's named construction or computation for “primitive amplitude oracle semantic contract”. Primitive one-signal amplitude-oracle semantic contract.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Primitive one-signal amplitude-oracle semantic contract. This contract keeps the unexpanded primitive tier honest: it requires both a unitarity obligation for the named oracle matrix and a clean-block extraction obligation whose extracted block satisfies the diagonal target contract.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3241. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.201●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract (n : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract (n : ℕ) : Prop
Primitive one-signal amplitude-oracle semantic contract. This contract keeps the unexpanded primitive tier honest: it requires both a unitarity obligation for the named oracle matrix and a clean-block extraction obligation whose extracted block satisfies the diagonal target contract.
Plain-English reading. Lean checks the proposition indexed as “primitive amplitude oracle semantic contract 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3248. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.202●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract_unitary (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleIsUnitary n (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleUnitary n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract_unitary (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleIsUnitary n (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleUnitary n)
Plain-English reading. Lean checks the proposition indexed as “primitive amplitude oracle semantic contract clean block eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3253. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.203●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract_cleanBlock_eq_target (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : ∃ block, QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCleanBlockExtracts n (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleUnitary n) block ∧ block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract_cleanBlock_eq_target (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : ∃ block, QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCleanBlockExtracts n (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleUnitary n) block ∧ block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. This definition gives the library's named construction or computation for “expanded amplitude oracle layout”. Expanded arithmetic route layout.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Expanded arithmetic route layout. The workspace count is explicit because the reversible arithmetic, angle synthesis, and uncomputation proof are not yet fixed to one resource backend.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3268. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.204●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleLayout (n workspaceQubits : ℕ) : QuantumBlockEncoding.RegisterLayout
def QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleLayout (n workspaceQubits : ℕ) : QuantumBlockEncoding.RegisterLayout
Expanded arithmetic route layout. The workspace count is explicit because the reversible arithmetic, angle synthesis, and uncomputation proof are not yet fixed to one resource backend.
Plain-English reading. Lean checks the proposition indexed as “expanded amplitude oracle layout auxiliary qubits”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3273. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.205●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleLayout_auxiliaryQubits (n workspaceQubits : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleLayout n workspaceQubits).auxiliaryQubits = 1 + workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleLayout_auxiliaryQubits (n workspaceQubits : ℕ) : (QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleLayout n workspaceQubits).auxiliaryQubits = 1 + workspaceQubits
Plain-English reading. Lean checks the proposition indexed as “expanded amplitude oracle normalizer eq”; the hypotheses and conclusion in the code panel fix its exact scope. The expanded route targets the same exact normalizer 'alpha = 1'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The expanded route targets the same exact normalizer 'alpha = 1'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3280. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.206●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleNormalizer_eq (n _workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.exactNormalizer n = 1
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleNormalizer_eq (n _workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.exactNormalizer n = 1
The expanded route targets the same exact normalizer `alpha = 1`.
Plain-English reading. This record groups the data and proof fields needed for “standard ry clean entry scalar tier”. A proposition-valued field is a requirement until a constructor supplies it. Scalar-tier contract for the standard 'R_y' clean-entry identity.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Scalar-tier contract for the standard 'R_y' clean-entry identity. The project-local matrix layer is still exact 'Rat', so 'arccos' and 'cos' are represented here by backend-supplied scalar functions. The contract keeps the standard convention explicit: for every rational amplitude 'a' in '[0, 1]', the clean signal entry of 'R_y (2 * arccos a)' is exactly 'a' after embedding into the backend scalar tier.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3293. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.207●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier : Type 1
structure QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier : Type 1
Scalar-tier contract for the standard `R_y` clean-entry identity. The project-local matrix layer is still exact `Rat`, so `arccos` and `cos` are represented here by backend-supplied scalar functions. The contract keeps the standard convention explicit: for every rational amplitude `a` in `[0, 1]`, the clean signal entry of `R_y (2 * arccos a)` is exactly `a` after embedding into the backend scalar tier.
Fields
Scalar : Type
ratAmplitude : ℚ → self.Scalar
thetaForAmplitude : self.Scalar → self.Scalar
cleanEntry : self.Scalar → self.Scalar
cleanEntry_of_range : ∀ (a : ℚ), 0 ≤ a → a ≤ 1 → self.cleanEntry (self.thetaForAmplitude (self.ratAmplitude a)) = self.ratAmplitude a
thetaFormula : String
cleanEntryFormula : String
Plain-English reading. This definition gives the library's named construction or computation for “expanded ry clean entry for cubic amplitudes”. Indexwise clean-entry obligation for the cubic diagonal amplitudes in a chosen standard-'R_y' scalar tier.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Indexwise clean-entry obligation for the cubic diagonal amplitudes in a chosen standard-'R_y' scalar tier.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3308. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.208●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedRyCleanEntryForCubicAmplitudes (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedRyCleanEntryForCubicAmplitudes (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n : ℕ) : Prop
Indexwise clean-entry obligation for the cubic diagonal amplitudes in a chosen standard-`R_y` scalar tier.
Plain-English reading. Lean checks the proposition indexed as “expanded ry clean entry for cubic amplitudes of standard tier”; the hypotheses and conclusion in the code panel fix its exact scope. 'DIAG-EXP-RY-001': the standard scalar-tier 'R_y' clean-entry contract applies to every cubic grid amplitude because the existing Lean range lemmas prove '0 <= (j / 2^n)^3 <= 1'.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. 'DIAG-EXP-RY-001': the standard scalar-tier 'R_y' clean-entry contract applies to every cubic grid amplitude because the existing Lean range lemmas prove '0 <= (j / 2^n)^3 <= 1'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3321. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.209●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedRyCleanEntryForCubicAmplitudes_of_standardTier (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedRyCleanEntryForCubicAmplitudes tier n
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedRyCleanEntryForCubicAmplitudes_of_standardTier (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedRyCleanEntryForCubicAmplitudes tier n
`DIAG-EXP-RY-001`: the standard scalar-tier `R_y` clean-entry contract applies to every cubic grid amplitude because the existing Lean range lemmas prove `0 <= (j / 2^n)^3 <= 1`.
Plain-English reading. This opaque declaration exposes the interface for “expanded arithmetic computes cubic amplitude” while keeping its implementation from unfolding automatically. Semantic obligation that the expanded reversible arithmetic computes 'a_j = (j / 2^n)^3' into the named workspace.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Semantic obligation that the expanded reversible arithmetic computes 'a_j = (j / 2^n)^3' into the named workspace.
Declaration kind. opaque.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3334. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.210●1 definition
Associated Lean declarations
-
opaquedefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude (n workspaceQubits : ℕ) : Prop
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude (n workspaceQubits : ℕ) : Prop
Semantic obligation that the expanded reversible arithmetic computes `a_j = (j / 2^n)^3` into the named workspace.
Plain-English reading. This record groups the data and proof fields needed for “expanded cubic arithmetic backend”. A proposition-valued field is a requirement until a constructor supplies it. Backend-level shape for the expanded reversible arithmetic compute phase.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Backend-level shape for the expanded reversible arithmetic compute phase. The structure records only the compute half of the route: starting from a clean workspace, the backend returns the same system index together with a workspace whose distinguished amplitude register contains 'CubicStatePreparation.cubicAmplitude n j'. Clean uncompute remains the separate obligation 'expandedWorkspaceCleanUncomputed'.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3346. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.211●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend (n workspaceQubits : ℕ) : Type 1
structure QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend (n workspaceQubits : ℕ) : Type 1
Backend-level shape for the expanded reversible arithmetic compute phase. The structure records only the compute half of the route: starting from a clean workspace, the backend returns the same system index together with a workspace whose distinguished amplitude register contains `CubicStatePreparation.cubicAmplitude n j`. Clean uncompute remains the separate obligation `expandedWorkspaceCleanUncomputed`.
Fields
Workspace : Type
workspaceQubitCount : ℕ
workspaceQubitCount_eq : self.workspaceQubitCount = workspaceQubits
zeroWorkspace : self.Workspace
amplitudeRegister : self.Workspace → ℚ
compute : Fin (QuantumBlockEncoding.gridSize n) → self.Workspace → Fin (QuantumBlockEncoding.gridSize n) × self.Workspace
Plain-English reading. This definition gives the library's named construction or computation for “symbolic expanded cubic arithmetic backend”. Symbolic compute-phase backend for 'DIAG-EXP-ARITH-BACKEND-001'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Symbolic compute-phase backend for 'DIAG-EXP-ARITH-BACKEND-001'. This witness records only the pointwise arithmetic value written by the compute phase. It does not certify a reversible gate implementation, clean uncompute, or the bridge to 'expandedArithmeticComputesCubicAmplitude'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3361. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.212●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits
def QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits
Symbolic compute-phase backend for `DIAG-EXP-ARITH-BACKEND-001`. This witness records only the pointwise arithmetic value written by the compute phase. It does not certify a reversible gate implementation, clean uncompute, or the bridge to `expandedArithmeticComputesCubicAmplitude`.
Plain-English reading. This definition gives the library's named construction or computation for “expanded arithmetic backend computes cubic amplitude”. Pointwise arithmetic-backend semantics for 'DIAG-EXP-ARITH-001'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Pointwise arithmetic-backend semantics for 'DIAG-EXP-ARITH-001'. For each system index 'j', the compute phase preserves 'j' and writes exactly the cubic diagonal amplitude into its distinguished amplitude register.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3377. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.213●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) : Prop
Pointwise arithmetic-backend semantics for `DIAG-EXP-ARITH-001`. For each system index `j`, the compute phase preserves `j` and writes exactly the cubic diagonal amplitude into its distinguished amplitude register.
Plain-English reading. Lean checks the proposition indexed as “symbolic expanded cubic arithmetic backend computes”; the hypotheses and conclusion in the code panel fix its exact scope. The symbolic backend satisfies the pointwise compute contract for every system index.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The symbolic backend satisfies the pointwise compute contract for every system index. The opaque expanded-route predicate still requires a separate backend bridge witness.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3391. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.214●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend_computes (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude (QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend n workspaceQubits)
theorem QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend_computes (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude (QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend n workspaceQubits)
The symbolic backend satisfies the pointwise compute contract for every system index. The opaque expanded-route predicate still requires a separate backend bridge witness.
Plain-English reading. This definition gives the library's named construction or computation for “expanded arithmetic backend bridge”. Bridge obligation from a concrete arithmetic backend to the expanded route predicate.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Bridge obligation from a concrete arithmetic backend to the expanded route predicate. This is conditional for the same reason as the rotation bridge: the backend must still justify that its pointwise compute semantics are the semantics of the route predicate used by the block-encoding contract.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3406. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.215●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) : Prop
Bridge obligation from a concrete arithmetic backend to the expanded route predicate. This is conditional for the same reason as the rotation bridge: the backend must still justify that its pointwise compute semantics are the semantics of the route predicate used by the block-encoding contract.
Plain-English reading. Lean checks the proposition indexed as “expanded arithmetic computes cubic amplitude of backend bridge”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3412. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.216●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude_of_backendBridge {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) (hBackend : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude backend) (hBridge : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge backend) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude_of_backendBridge {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) (hBackend : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude backend) (hBridge : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge backend) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
Plain-English reading. Lean checks the proposition indexed as “expanded arithmetic backend bridge iff of computes”; the hypotheses and conclusion in the code panel fix its exact scope. General normal form for arithmetic backend bridge proof search.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. General normal form for arithmetic backend bridge proof search. Once a backend's pointwise compute contract is available, proving its bridge is equivalent to proving the opaque expanded-route predicate itself. This lemma is a proof-reduction aid; it does not supply the route semantics.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3427. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.217●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge_iff_of_computes {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) (hBackend : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude backend) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge backend ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge_iff_of_computes {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits) (hBackend : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude backend) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge backend ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
General normal form for arithmetic backend bridge proof search. Once a backend's pointwise compute contract is available, proving its bridge is equivalent to proving the opaque expanded-route predicate itself. This lemma is a proof-reduction aid; it does not supply the route semantics.
Plain-English reading. Lean checks the proposition indexed as “expanded arithmetic computes cubic amplitude of symbolic backend bridge”; the hypotheses and conclusion in the code panel fix its exact scope. Specialized conditional closure for the symbolic arithmetic backend.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Specialized conditional closure for the symbolic arithmetic backend. This does not prove the backend bridge witness; it only packages the already compiled pointwise compute proof with a future honest bridge witness for 'DIAG-ARITH-BACKEND-BRIDGE-001'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3448. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.218●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude_of_symbolicBackendBridge (n workspaceQubits : ℕ) (hBridge : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge (QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend n workspaceQubits)) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude_of_symbolicBackendBridge (n workspaceQubits : ℕ) (hBridge : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge (QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend n workspaceQubits)) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
Specialized conditional closure for the symbolic arithmetic backend. This does not prove the backend bridge witness; it only packages the already compiled pointwise compute proof with a future honest bridge witness for `DIAG-ARITH-BACKEND-BRIDGE-001`.
Plain-English reading. Lean checks the proposition indexed as “symbolic expanded cubic arithmetic backend bridge iff”; the hypotheses and conclusion in the code panel fix its exact scope. Normal form for the symbolic arithmetic bridge obligation.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Normal form for the symbolic arithmetic bridge obligation. For the symbolic backend, the pointwise compute proof is already compiled, so the bridge obligation is logically equivalent to the opaque expanded-route predicate itself. This is a proof-reduction lemma, not a bridge witness: it keeps 'DIAG-ARITH-BACKEND-BRIDGE-001' blocked until a concrete route-semantics representation proves 'expandedArithmeticComputesCubicAmplitude'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3468. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.219●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend_bridge_iff (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge (QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend n workspaceQubits) ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend_bridge_iff (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge (QuantumBlockEncoding.CubicDiagonalOracle.symbolicExpandedCubicArithmeticBackend n workspaceQubits) ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n workspaceQubits
Normal form for the symbolic arithmetic bridge obligation. For the symbolic backend, the pointwise compute proof is already compiled, so the bridge obligation is logically equivalent to the opaque expanded-route predicate itself. This is a proof-reduction lemma, not a bridge witness: it keeps `DIAG-ARITH-BACKEND-BRIDGE-001` blocked until a concrete route-semantics representation proves `expandedArithmeticComputesCubicAmplitude`.
Plain-English reading. Lean checks the proposition indexed as “fixed denom cubic payload lt capacity”; the hypotheses and conclusion in the code panel fix its exact scope. 'DIAG-ARITH-FIXED-DENOM-CAP-001': the fixed-denominator cubic payload fits in the '3 * n'-qubit workspace register.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. 'DIAG-ARITH-FIXED-DENOM-CAP-001': the fixed-denominator cubic payload fits in the '3 * n'-qubit workspace register.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3481. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.220●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicPayload_lt_capacity (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ↑j ^ 3 < QuantumBlockEncoding.gridSize (3 * n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicPayload_lt_capacity (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ↑j ^ 3 < QuantumBlockEncoding.gridSize (3 * n)
`DIAG-ARITH-FIXED-DENOM-CAP-001`: the fixed-denominator cubic payload fits in the `3 * n`-qubit workspace register.
Plain-English reading. Lean checks the proposition indexed as “fixed denom cubic amplitude eq”; the hypotheses and conclusion in the code panel fix its exact scope. 'DIAG-ARITH-FIXED-DENOM-ALG-001': projecting the fixed-denominator payload 'j.val ^ 3' by the '3 * n'-qubit denominator recovers the cubic grid amplitude.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. 'DIAG-ARITH-FIXED-DENOM-ALG-001': projecting the fixed-denominator payload 'j.val ^ 3' by the '3 * n'-qubit denominator recovers the cubic grid amplitude.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3493. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.221●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicAmplitude_eq (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ↑↑j ^ 3 / ↑(QuantumBlockEncoding.gridSize (3 * n)) = QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicAmplitude_eq (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : ↑↑j ^ 3 / ↑(QuantumBlockEncoding.gridSize (3 * n)) = QuantumBlockEncoding.CubicStatePreparation.cubicAmplitude n j
`DIAG-ARITH-FIXED-DENOM-ALG-001`: projecting the fixed-denominator payload `j.val ^ 3` by the `3 * n`-qubit denominator recovers the cubic grid amplitude.
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom cubic arithmetic backend”. 'DIAG-ARITH-FIXED-DENOM-BACKEND-001': concrete compute-phase backend whose '3 * n'-qubit workspace stores the fixed-denominator payload 'j.val ^ 3'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. 'DIAG-ARITH-FIXED-DENOM-BACKEND-001': concrete compute-phase backend whose '3 * n'-qubit workspace stores the fixed-denominator payload 'j.val ^ 3'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3509. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.222●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n (3 * n)
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n (3 * n)
`DIAG-ARITH-FIXED-DENOM-BACKEND-001`: concrete compute-phase backend whose `3 * n`-qubit workspace stores the fixed-denominator payload `j.val ^ 3`.
Plain-English reading. Lean checks the proposition indexed as “fixed denom cubic arithmetic backend computes”; the hypotheses and conclusion in the code panel fix its exact scope. Pointwise compute contract for the fixed-denominator arithmetic backend.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Pointwise compute contract for the fixed-denominator arithmetic backend. This closes the backend leaf only; the bridge to 'expandedArithmeticComputesCubicAmplitude' remains a separate semantic obligation.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3527. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.223●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend_computes (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend_computes (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n)
Pointwise compute contract for the fixed-denominator arithmetic backend. This closes the backend leaf only; the bridge to `expandedArithmeticComputesCubicAmplitude` remains a separate semantic obligation.
Plain-English reading. This definition gives the library's named construction or computation for “expanded arithmetic computes cubic amplitude transparent”. Transparent arithmetic-route interface for 'DIAG-ARITH-ROUTE-TRANSPARENT-001'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent arithmetic-route interface for 'DIAG-ARITH-ROUTE-TRANSPARENT-001'. This records that some explicit backend satisfies the pointwise compute contract. It is intentionally weaker than the opaque expanded-route predicate: using it as a route certificate still requires a later named bridge or contract refactor.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3546. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.224●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitudeTransparent (n workspaceQubits : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitudeTransparent (n workspaceQubits : ℕ) : Prop
Transparent arithmetic-route interface for `DIAG-ARITH-ROUTE-TRANSPARENT-001`. This records that some explicit backend satisfies the pointwise compute contract. It is intentionally weaker than the opaque expanded-route predicate: using it as a route certificate still requires a later named bridge or contract refactor.
Plain-English reading. Lean checks the proposition indexed as “fixed denom cubic arithmetic route transparent”; the hypotheses and conclusion in the code panel fix its exact scope. Fixed-denominator witness for the transparent arithmetic route interface.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Fixed-denominator witness for the transparent arithmetic route interface. This packages the already compiled fixed-denominator backend and its pointwise compute theorem. It does not prove 'expandedArithmeticComputesCubicAmplitude n (3 * n)'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3558. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.225●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticRouteTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitudeTransparent n (3 * n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticRouteTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitudeTransparent n (3 * n)
Fixed-denominator witness for the transparent arithmetic route interface. This packages the already compiled fixed-denominator backend and its pointwise compute theorem. It does not prove `expandedArithmeticComputesCubicAmplitude n (3 * n)`.
Plain-English reading. Lean checks the proposition indexed as “fixed denom cubic arithmetic backend bridge iff”; the hypotheses and conclusion in the code panel fix its exact scope. Fixed-denominator normal form for the arithmetic bridge obligation.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Fixed-denominator normal form for the arithmetic bridge obligation. The concrete backend's pointwise compute proof is available, so direct bridge search is equivalent to proving the opaque expanded-route predicate itself. This records the remaining route-semantics gap without supplying a bridge witness.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3572. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.226●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend_bridge_iff (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n) ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n (3 * n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend_bridge_iff (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendBridge (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n) ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticComputesCubicAmplitude n (3 * n)
Fixed-denominator normal form for the arithmetic bridge obligation. The concrete backend's pointwise compute proof is available, so direct bridge search is equivalent to proving the opaque expanded-route predicate itself. This records the remaining route-semantics gap without supplying a bridge witness.
Plain-English reading. This opaque declaration exposes the interface for “expanded controlled ry uses cubic angle” while keeping its implementation from unfolding automatically. Semantic obligation for the standard 'R_y' convention on the signal qubit: for each basis index 'j', the route uses 'theta_j = 2 * arccos ((j / 2^n)^3)', so the clean entry is 'cos (theta_j / 2) = (j / 2^n)^3'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Semantic obligation for the standard 'R_y' convention on the signal qubit: for each basis index 'j', the route uses 'theta_j = 2 * arccos ((j / 2^n)^3)', so the clean entry is 'cos (theta_j / 2) = (j / 2^n)^3'.
Declaration kind. opaque.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3586. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.227●1 definition
Associated Lean declarations
-
opaquedefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle (n workspaceQubits : ℕ) : Prop
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle (n workspaceQubits : ℕ) : Prop
Semantic obligation for the standard `R_y` convention on the signal qubit: for each basis index `j`, the route uses `theta_j = 2 * arccos ((j / 2^n)^3)`, so the clean entry is `cos (theta_j / 2) = (j / 2^n)^3`.
Plain-English reading. This definition gives the library's named construction or computation for “expanded controlled ry uses cubic angle transparent”. Transparent controlled-'R_y' angle-convention interface for 'DIAG-RY-TRANSPARENT-INTERFACE-001'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent controlled-'R_y' angle-convention interface for 'DIAG-RY-TRANSPARENT-INTERFACE-001'. This records only the already compiled scalar clean-entry fact for every standard tier. It does not prove the opaque route predicate 'expandedControlledRyUsesCubicAngle'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3597. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.228●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngleTransparent (n _workspaceQubits : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngleTransparent (n _workspaceQubits : ℕ) : Prop
Transparent controlled-`R_y` angle-convention interface for `DIAG-RY-TRANSPARENT-INTERFACE-001`. This records only the already compiled scalar clean-entry fact for every standard tier. It does not prove the opaque route predicate `expandedControlledRyUsesCubicAngle`.
Plain-English reading. Lean checks the proposition indexed as “fixed denom controlled ry route transparent”; the hypotheses and conclusion in the code panel fix its exact scope. Fixed-denominator wrapper for the transparent controlled-'R_y' route.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Fixed-denominator wrapper for the transparent controlled-'R_y' route. This packages the scalar-tier theorem at workspace size '3 * n'. It does not provide a backend witness for 'expandedControlledRyUsesCubicAngle'.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3608. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.229●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomControlledRyRouteTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngleTransparent n (3 * n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomControlledRyRouteTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngleTransparent n (3 * n)
Fixed-denominator wrapper for the transparent controlled-`R_y` route. This packages the scalar-tier theorem at workspace size `3 * n`. It does not provide a backend witness for `expandedControlledRyUsesCubicAngle`.
Plain-English reading. This definition gives the library's named construction or computation for “expanded controlled ry backend bridge”. Backend bridge obligation from the scalar-tier 'R_y' clean-entry interface to the expanded route predicate.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Backend bridge obligation from the scalar-tier 'R_y' clean-entry interface to the expanded route predicate. This is intentionally conditional: the file already proves the scalar clean-entry fact for cubic amplitudes, but a concrete backend must still justify that this fact is the semantics of the controlled rotation used by the route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3622. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.230●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n workspaceQubits : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n workspaceQubits : ℕ) : Prop
Backend bridge obligation from the scalar-tier `R_y` clean-entry interface to the expanded route predicate. This is intentionally conditional: the file already proves the scalar clean-entry fact for cubic amplitudes, but a concrete backend must still justify that this fact is the semantics of the controlled rotation used by the route.
Plain-English reading. Lean checks the proposition indexed as “expanded controlled ry uses cubic angle of backend bridge”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3628. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.231●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle_of_backendBridge (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n workspaceQubits : ℕ) (hBridge : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge tier n workspaceQubits) : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle_of_backendBridge (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n workspaceQubits : ℕ) (hBridge : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge tier n workspaceQubits) : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle n workspaceQubits
Plain-English reading. Lean checks the proposition indexed as “expanded controlled ry backend bridge iff of standard tier”; the hypotheses and conclusion in the code panel fix its exact scope. Normal form for controlled-rotation backend-bridge proof search.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Normal form for controlled-rotation backend-bridge proof search. The scalar-tier clean-entry theorem is already compiled, so proving a backend bridge for the controlled rotation is equivalent to proving the opaque route predicate itself. This is a proof-reduction lemma for 'DIAG-RY-BACKEND-WITNESS-001'; it does not supply the missing backend semantics.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3644. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.232●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge_iff_of_standardTier (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge tier n workspaceQubits ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge_iff_of_standardTier (tier : QuantumBlockEncoding.CubicDiagonalOracle.StandardRyCleanEntryScalarTier) (n workspaceQubits : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyBackendBridge tier n workspaceQubits ↔ QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngle n workspaceQubits
Normal form for controlled-rotation backend-bridge proof search. The scalar-tier clean-entry theorem is already compiled, so proving a backend bridge for the controlled rotation is equivalent to proving the opaque route predicate itself. This is a proof-reduction lemma for `DIAG-RY-BACKEND-WITNESS-001`; it does not supply the missing backend semantics.
Plain-English reading. This record groups the data and proof fields needed for “expanded controlled ry workspace readonly witness”. A proposition-valued field is a requirement until a constructor supplies it. Transparent readonly-rotation interface for 'DIAG-RY-WORKSPACE-READONLY-001'.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent readonly-rotation interface for 'DIAG-RY-WORKSPACE-READONLY-001'. This records that the controlled signal rotation may read the arithmetic workspace payload while preserving both the system index and workspace value. It does not prove 'expandedWorkspaceCleanUncomputed' or any opaque route predicate.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3666. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.233●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.ExpandedControlledRyWorkspaceReadonlyWitness (n workspaceQubits : ℕ) : Type 1
structure QuantumBlockEncoding.CubicDiagonalOracle.ExpandedControlledRyWorkspaceReadonlyWitness (n workspaceQubits : ℕ) : Type 1
Transparent readonly-rotation interface for `DIAG-RY-WORKSPACE-READONLY-001`. This records that the controlled signal rotation may read the arithmetic workspace payload while preserving both the system index and workspace value. It does not prove `expandedWorkspaceCleanUncomputed` or any opaque route predicate.
Fields
backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits
angleConvention : QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyUsesCubicAngleTransparent n workspaceQubits
rotationStep : Fin (QuantumBlockEncoding.gridSize n) → self.backend.Workspace → Fin 2 → (Fin (QuantumBlockEncoding.gridSize n) × self.backend.Workspace) × Fin 2
preserves_index : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace) (signal : Fin 2), (self.rotationStep j w signal).1.1 = j
preserves_workspace : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace) (signal : Fin 2), (self.rotationStep j w signal).1.2 = w
Plain-English reading. This definition gives the library's named construction or computation for “expanded controlled ry workspace readonly transparent”. Transparent predicate for a controlled-rotation step that preserves the arithmetic workspace.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent predicate for a controlled-rotation step that preserves the arithmetic workspace. This is intentionally separate from route-level cleanup; a later packet must choose either a transparent cleanup contract refactor or a nontrivial bridge.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3686. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.234●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyWorkspaceReadonlyTransparent (n workspaceQubits : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedControlledRyWorkspaceReadonlyTransparent (n workspaceQubits : ℕ) : Prop
Transparent predicate for a controlled-rotation step that preserves the arithmetic workspace. This is intentionally separate from route-level cleanup; a later packet must choose either a transparent cleanup contract refactor or a nontrivial bridge.
Plain-English reading. This opaque declaration exposes the interface for “expanded workspace clean uncomputed” while keeping its implementation from unfolding automatically. Semantic obligation that the arithmetic workspace is returned clean.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Semantic obligation that the arithmetic workspace is returned clean.
Declaration kind. opaque.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3691. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.235●1 definition
Associated Lean declarations
-
opaquedefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputed (n workspaceQubits : ℕ) : Prop
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputed (n workspaceQubits : ℕ) : Prop
Semantic obligation that the arithmetic workspace is returned clean.
Plain-English reading. This record groups the data and proof fields needed for “expanded arithmetic clean uncompute witness”. A proposition-valued field is a requirement until a constructor supplies it. Transparent clean-uncompute interface for 'DIAG-EXP-UNCOMP-TRANSPARENT-INTERFACE-001'.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent clean-uncompute interface for 'DIAG-EXP-UNCOMP-TRANSPARENT-INTERFACE-001'. This records the data needed to state honest reversible cleanup: a compute step matching the backend on clean workspace, an uncompute step that preserves the system index, and a two-sided cleanup condition after compute. It does not prove the opaque route predicate 'expandedWorkspaceCleanUncomputed'.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3703. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.236●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.ExpandedArithmeticCleanUncomputeWitness (n workspaceQubits : ℕ) : Type 1
structure QuantumBlockEncoding.CubicDiagonalOracle.ExpandedArithmeticCleanUncomputeWitness (n workspaceQubits : ℕ) : Type 1
Transparent clean-uncompute interface for `DIAG-EXP-UNCOMP-TRANSPARENT-INTERFACE-001`. This records the data needed to state honest reversible cleanup: a compute step matching the backend on clean workspace, an uncompute step that preserves the system index, and a two-sided cleanup condition after compute. It does not prove the opaque route predicate `expandedWorkspaceCleanUncomputed`.
Fields
backend : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedCubicArithmeticBackend n workspaceQubits
computes : QuantumBlockEncoding.CubicDiagonalOracle.expandedArithmeticBackendComputesCubicAmplitude self.backend
computeStep : Fin (QuantumBlockEncoding.gridSize n) → self.backend.Workspace → Fin (QuantumBlockEncoding.gridSize n) × self.backend.Workspace
uncomputeStep : Fin (QuantumBlockEncoding.gridSize n) → self.backend.Workspace → Fin (QuantumBlockEncoding.gridSize n) × self.backend.Workspace
computeStep_matches_backend_on_clean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), self.computeStep j self.backend.zeroWorkspace = self.backend.compute j self.backend.zeroWorkspace
compute_preserves_index : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace), (self.computeStep j w).1 = j
uncompute_preserves_index : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace), (self.uncomputeStep j w).1 = j
uncompute_after_compute : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace), self.uncomputeStep j (self.computeStep j w).2 = (j, w)
Plain-English reading. This definition gives the library's named construction or computation for “expanded workspace clean uncomputed transparent”. Transparent cleanup predicate backed by an explicit reversible witness.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent cleanup predicate backed by an explicit reversible witness. This is intentionally separate from 'expandedWorkspaceCleanUncomputed'; a later route must either instantiate this interface and refactor a contract to consume it, or supply a nontrivial bridge to the opaque predicate.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3731. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.237●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent (n workspaceQubits : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent (n workspaceQubits : ℕ) : Prop
Transparent cleanup predicate backed by an explicit reversible witness. This is intentionally separate from `expandedWorkspaceCleanUncomputed`; a later route must either instantiate this interface and refactor a contract to consume it, or supply a nontrivial bridge to the opaque predicate.
Plain-English reading. Lean checks the proposition indexed as “expanded workspace clean uncomputed transparent of witness”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3735. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.238●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent_of_witness {n workspaceQubits : ℕ} (w : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedArithmeticCleanUncomputeWitness n workspaceQubits) : QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent_of_witness {n workspaceQubits : ℕ} (w : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedArithmeticCleanUncomputeWitness n workspaceQubits) : QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent n workspaceQubits
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom cubic compute step”. Fixed-denominator reversible compute lift for 'DIAG-EXP-UNCOMP-FIXED-DENOM-WITNESS-001'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Fixed-denominator reversible compute lift for 'DIAG-EXP-UNCOMP-FIXED-DENOM-WITNESS-001'. This modular-add step agrees with 'fixedDenomCubicArithmeticBackend' on clean workspace, but unlike the backend's overwrite-style compute field it is invertible on every workspace value.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3783. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.239●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace
Fixed-denominator reversible compute lift for `DIAG-EXP-UNCOMP-FIXED-DENOM-WITNESS-001`. This modular-add step agrees with `fixedDenomCubicArithmeticBackend` on clean workspace, but unlike the backend's overwrite-style compute field it is invertible on every workspace value.
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom cubic uncompute step”. Modular-subtract inverse for 'fixedDenomCubicComputeStep'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Modular-subtract inverse for 'fixedDenomCubicComputeStep'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3791. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.240●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicUncomputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicUncomputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace
Modular-subtract inverse for `fixedDenomCubicComputeStep`.
Plain-English reading. Lean checks the proposition indexed as “fixed denom cubic compute step matches backend on clean”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3798. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.241●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep_matches_backend_on_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).zeroWorkspace = (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).compute j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).zeroWorkspace
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep_matches_backend_on_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).zeroWorkspace = (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).compute j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).zeroWorkspace
Plain-English reading. Lean checks the proposition indexed as “fixed denom cubic uncompute step after compute”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3807. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.242●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicUncomputeStep_after_compute (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (workspace : (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicUncomputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep n j workspace).2 = (j, workspace)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicUncomputeStep_after_compute (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (workspace : (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicArithmeticBackend n).Workspace) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicUncomputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomCubicComputeStep n j workspace).2 = (j, workspace)
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom expanded arithmetic clean uncompute witness”. Fixed-denominator witness for the transparent clean-uncompute interface.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Fixed-denominator witness for the transparent clean-uncompute interface. This packages modular add/sub cleanup only. It does not prove the opaque predicate 'expandedWorkspaceCleanUncomputed', does not state controlled-rotation workspace-readonly semantics, and does not close extraction or unitarity.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3827. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.243●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomExpandedArithmeticCleanUncomputeWitness (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedArithmeticCleanUncomputeWitness n (3 * n)
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomExpandedArithmeticCleanUncomputeWitness (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.ExpandedArithmeticCleanUncomputeWitness n (3 * n)
Fixed-denominator witness for the transparent clean-uncompute interface. This packages modular add/sub cleanup only. It does not prove the opaque predicate `expandedWorkspaceCleanUncomputed`, does not state controlled-rotation workspace-readonly semantics, and does not close extraction or unitarity.
Plain-English reading. Lean checks the proposition indexed as “fixed denom workspace clean uncomputed transparent”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3846. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.244●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomWorkspaceCleanUncomputedTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent n (3 * n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomWorkspaceCleanUncomputedTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.expandedWorkspaceCleanUncomputedTransparent n (3 * n)
Plain-English reading. This record groups the data and proof fields needed for “linear diagonal value backend”. A proposition-valued field is a requirement until a constructor supplies it. Backend-level shape for computing the hinted linear diagonal value 'x_j = j / 2^n'.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Backend-level shape for computing the hinted linear diagonal value 'x_j = j / 2^n'. This is a transparent value-computation support interface for 'HINT-O0-BACKEND'. It does not provide the signal rotation, rational orthogonal matrix, or clean-block equality required by 'LinearDiagonalInputBEContract'.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3860. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.245●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend (n workspaceQubits : ℕ) : Type 1
structure QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend (n workspaceQubits : ℕ) : Type 1
Backend-level shape for computing the hinted linear diagonal value `x_j = j / 2^n`. This is a transparent value-computation support interface for `HINT-O0-BACKEND`. It does not provide the signal rotation, rational orthogonal matrix, or clean-block equality required by `LinearDiagonalInputBEContract`.
Fields
Workspace : Type
workspaceQubitCount : ℕ
workspaceQubitCount_eq : self.workspaceQubitCount = workspaceQubits
zeroWorkspace : self.Workspace
amplitudeRegister : self.Workspace → ℚ
compute : Fin (QuantumBlockEncoding.gridSize n) → self.Workspace → Fin (QuantumBlockEncoding.gridSize n) × self.Workspace
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal value backend computes grid point”. Pointwise value-computation contract for a linear diagonal backend.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Pointwise value-computation contract for a linear diagonal backend. On clean workspace the backend preserves the system index and writes exactly 'CubicStatePreparation.gridPoint n j' into its distinguished value register.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3874. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.246●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalValueBackendComputesGridPoint {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend n workspaceQubits) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalValueBackendComputesGridPoint {n workspaceQubits : ℕ} (backend : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend n workspaceQubits) : Prop
Pointwise value-computation contract for a linear diagonal backend. On clean workspace the backend preserves the system index and writes exactly `CubicStatePreparation.gridPoint n j` into its distinguished value register.
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom linear diagonal value backend”. Fixed-denominator value backend for 'O_0'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Fixed-denominator value backend for 'O_0'. The workspace stores the numerator 'j' in an 'n'-qubit register and interprets it as the rational value 'j / 2^n'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3889. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.247●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend n n
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend n n
Fixed-denominator value backend for `O_0`. The workspace stores the numerator `j` in an `n`-qubit register and interprets it as the rational value `j / 2^n`.
Plain-English reading. Lean checks the proposition indexed as “fixed denom linear diagonal value backend computes”; the hypotheses and conclusion in the code panel fix its exact scope. The fixed-denominator linear backend computes 'x_j = j / 2^n' on clean workspace.
Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. The fixed-denominator linear backend computes 'x_j = j / 2^n' on clean workspace.
Declaration kind. theorem.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3901. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.248●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend_computes (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalValueBackendComputesGridPoint (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend_computes (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalValueBackendComputesGridPoint (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n)
The fixed-denominator linear backend computes `x_j = j / 2^n` on clean workspace.
Plain-English reading. This record groups the data and proof fields needed for “linear diagonal value clean uncompute witness”. A proposition-valued field is a requirement until a constructor supplies it. Transparent cleanup witness for a linear value backend.
Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.
Why it is in this chapter. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent cleanup witness for a linear value backend. The witness uses an invertible compute/uncompute pair around the backend's clean-workspace value contract. It is intentionally separate from the missing controlled-rotation and full clean-block obligations.
Declaration kind. structure.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3919. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.249●1 definition
Associated Lean declarations
-
structuredefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
structure QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueCleanUncomputeWitness (n workspaceQubits : ℕ) : Type 1
structure QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueCleanUncomputeWitness (n workspaceQubits : ℕ) : Type 1
Transparent cleanup witness for a linear value backend. The witness uses an invertible compute/uncompute pair around the backend's clean-workspace value contract. It is intentionally separate from the missing controlled-rotation and full clean-block obligations.
Fields
backend : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueBackend n workspaceQubits
computes : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalValueBackendComputesGridPoint self.backend
computeStep : Fin (QuantumBlockEncoding.gridSize n) → self.backend.Workspace → Fin (QuantumBlockEncoding.gridSize n) × self.backend.Workspace
uncomputeStep : Fin (QuantumBlockEncoding.gridSize n) → self.backend.Workspace → Fin (QuantumBlockEncoding.gridSize n) × self.backend.Workspace
computeStep_matches_backend_on_clean : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)), self.computeStep j self.backend.zeroWorkspace = self.backend.compute j self.backend.zeroWorkspace
compute_preserves_index : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace), (self.computeStep j w).1 = j
uncompute_preserves_index : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace), (self.uncomputeStep j w).1 = j
uncompute_after_compute : ∀ (j : Fin (QuantumBlockEncoding.gridSize n)) (w : self.backend.Workspace), self.uncomputeStep j (self.computeStep j w).2 = (j, w)
Plain-English reading. This definition gives the library's named construction or computation for “linear diagonal workspace clean uncomputed transparent”. Transparent predicate for honest compute/uncompute cleanup of an 'O_0' value backend.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Transparent predicate for honest compute/uncompute cleanup of an 'O_0' value backend.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3941. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.250●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent (n workspaceQubits : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent (n workspaceQubits : ℕ) : Prop
Transparent predicate for honest compute/uncompute cleanup of an `O_0` value backend.
Plain-English reading. Lean checks the proposition indexed as “linear diagonal workspace clean uncomputed transparent of witness”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3945. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.251●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent_of_witness {n workspaceQubits : ℕ} (w : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueCleanUncomputeWitness n workspaceQubits) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent n workspaceQubits
theorem QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent_of_witness {n workspaceQubits : ℕ} (w : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueCleanUncomputeWitness n workspaceQubits) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent n workspaceQubits
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom linear diagonal compute step”. Modular-add compute step for the fixed-denominator linear backend.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Modular-add compute step for the fixed-denominator linear backend.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3952. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.252●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace
Modular-add compute step for the fixed-denominator linear backend.
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom linear diagonal uncompute step”. Modular-subtract inverse for 'fixedDenomLinearDiagonalComputeStep'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Modular-subtract inverse for 'fixedDenomLinearDiagonalComputeStep'.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3960. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.253●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalUncomputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalUncomputeStep (n : ℕ) : Fin (QuantumBlockEncoding.gridSize n) → (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace → Fin (QuantumBlockEncoding.gridSize n) × (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace
Modular-subtract inverse for `fixedDenomLinearDiagonalComputeStep`.
Plain-English reading. Lean checks the proposition indexed as “fixed denom linear diagonal compute step matches backend on clean”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3967. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.254●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep_matches_backend_on_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).zeroWorkspace = (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).compute j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).zeroWorkspace
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep_matches_backend_on_clean (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).zeroWorkspace = (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).compute j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).zeroWorkspace
Plain-English reading. Lean checks the proposition indexed as “fixed denom linear diagonal uncompute step after compute”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:3976. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.255●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalUncomputeStep_after_compute (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (workspace : (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalUncomputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep n j workspace).2 = (j, workspace)
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalUncomputeStep_after_compute (n : ℕ) (j : Fin (QuantumBlockEncoding.gridSize n)) (workspace : (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalValueBackend n).Workspace) : QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalUncomputeStep n j (QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalComputeStep n j workspace).2 = (j, workspace)
Plain-English reading. This definition gives the library's named construction or computation for “fixed denom linear diagonal clean uncompute witness”. Fixed-denominator cleanup witness for the hinted 'O_0' value backend.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Fixed-denominator cleanup witness for the hinted 'O_0' value backend. This closes only the transparent value-compute/cleanup support leaf for 'HINT-O0-BACKEND'; a full 'LinearDiagonalInputBEContract' instance still needs a signal-amplitude matrix with 'IsRationalOrthogonal', clean-block equality, and resource accounting.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:3997. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.256●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalCleanUncomputeWitness (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueCleanUncomputeWitness n n
def QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalCleanUncomputeWitness (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.LinearDiagonalValueCleanUncomputeWitness n n
Fixed-denominator cleanup witness for the hinted `O_0` value backend. This closes only the transparent value-compute/cleanup support leaf for `HINT-O0-BACKEND`; a full `LinearDiagonalInputBEContract` instance still needs a signal-amplitude matrix with `IsRationalOrthogonal`, clean-block equality, and resource accounting.
Plain-English reading. Lean checks the proposition indexed as “fixed denom linear diagonal workspace clean uncomputed transparent”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:4016. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.257●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalWorkspaceCleanUncomputedTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent n n
theorem QuantumBlockEncoding.CubicDiagonalOracle.fixedDenomLinearDiagonalWorkspaceCleanUncomputedTransparent (n : ℕ) : QuantumBlockEncoding.CubicDiagonalOracle.linearDiagonalWorkspaceCleanUncomputedTransparent n n
Plain-English reading. This opaque declaration exposes the interface for “expanded amplitude oracle clean block extracts” while keeping its implementation from unfolding automatically. Clean-block extraction obligation for the expanded arithmetic/rotation route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Clean-block extraction obligation for the expanded arithmetic/rotation route.
Declaration kind. opaque.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:4023. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.258●1 definition
Associated Lean declarations
-
opaquedefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockExtracts (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
opaque QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockExtracts (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Clean-block extraction obligation for the expanded arithmetic/rotation route.
Plain-English reading. This definition gives the library's named construction or computation for “expanded amplitude oracle clean block contract”. Expanded-route clean-block contract for 'DIAG-EXPANDED-CONTRACT-001'.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Expanded-route clean-block contract for 'DIAG-EXPANDED-CONTRACT-001'. This is an interface, not a proof of the expanded circuit. It keeps the transparent arithmetic witness, transparent controlled-rotation witness, and clean-uncompute obligations explicit and requires the extracted clean block to satisfy the existing diagonal contract.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:4035. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.259●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) : Prop
Expanded-route clean-block contract for `DIAG-EXPANDED-CONTRACT-001`. This is an interface, not a proof of the expanded circuit. It keeps the transparent arithmetic witness, transparent controlled-rotation witness, and clean-uncompute obligations explicit and requires the extracted clean block to satisfy the existing diagonal contract.
Plain-English reading. Lean checks the proposition indexed as “expanded amplitude oracle clean block contract diagonal”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:4044. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.260●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract_diagonal (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract n workspaceQubits block) : QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract n block
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract_diagonal (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract n workspaceQubits block) : QuantumBlockEncoding.CubicDiagonalOracle.diagonalCleanBlockContract n block
Plain-English reading. Lean checks the proposition indexed as “expanded amplitude oracle clean block contract eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:4051. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.261●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract_eq_target (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract n workspaceQubits block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract_eq_target (n workspaceQubits : ℕ) (block : QuantumBlockEncoding.Matrix (QuantumBlockEncoding.gridSize n) (QuantumBlockEncoding.gridSize n) ℚ) (h : QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockContract n workspaceQubits block) : block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. This definition gives the library's named construction or computation for “expanded amplitude oracle semantic contract”. Conditional semantic interface for an expanded arithmetic/rotation route with an explicit workspace size.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Conditional semantic interface for an expanded arithmetic/rotation route with an explicit workspace size.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:4063. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.262●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleSemanticContract (n workspaceQubits : ℕ) : Prop
def QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleSemanticContract (n workspaceQubits : ℕ) : Prop
Conditional semantic interface for an expanded arithmetic/rotation route with an explicit workspace size.
Plain-English reading. Lean checks the proposition indexed as “expanded amplitude oracle semantic contract clean block eq 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:4068. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.263●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleSemanticContract_cleanBlock_eq_target (n workspaceQubits : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleSemanticContract n workspaceQubits) : ∃ block, QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockExtracts n workspaceQubits block ∧ block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
theorem QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleSemanticContract_cleanBlock_eq_target (n workspaceQubits : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleSemanticContract n workspaceQubits) : ∃ block, QuantumBlockEncoding.CubicDiagonalOracle.expandedAmplitudeOracleCleanBlockExtracts n workspaceQubits block ∧ block.PointwiseEq (QuantumBlockEncoding.CubicDiagonalOracle.cubicDiagonalTarget n).operator
Plain-English reading. This definition gives the library's named construction or computation for “primitive amplitude oracle candidate”. Conditional candidate at the primitive oracle-label tier.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Conditional candidate at the primitive oracle-label tier.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:4080. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.264●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate (n : ℕ) : QuantumBlockEncoding.OperatorBlockEncodingCandidate ℚ n
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate (n : ℕ) : QuantumBlockEncoding.OperatorBlockEncodingCandidate ℚ n
Conditional candidate at the primitive oracle-label tier.
Plain-English reading. Lean checks the proposition indexed as “primitive amplitude oracle candidate cost tuple eq”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:4097. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.265●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate_costTuple_eq (n : ℕ) : ((QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.gateCount, (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.depth, (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.auxiliaryQubits, (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.oracleCalls) = (1, 1, 1, 1)
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate_costTuple_eq (n : ℕ) : ((QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.gateCount, (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.depth, (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.auxiliaryQubits, (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).cost.oracleCalls) = (1, 1, 1, 1)
Plain-English reading. Lean checks the proposition indexed as “primitive amplitude oracle candidate unitary from contract”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:4108. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.266●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate_unitary_from_contract (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).isUnitary
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate_unitary_from_contract (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).isUnitary
Plain-English reading. Lean checks the proposition indexed as “primitive amplitude oracle candidate block from contract”; 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. State-preparation and exact rational Householder developments for the cubic benchmark family.
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/CubicStatePreparation.lean:4114. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Theorem9.2.267●1 theorem
Associated Lean declarations
-
theoremdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate_block_from_contract (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).blockContainsTarget
theorem QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate_block_from_contract (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : (QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleCandidate n).blockContainsTarget
Plain-English reading. This definition gives the library's named construction or computation for “primitive amplitude oracle verified”. Conditional exact certificate for the primitive oracle-label tier.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Conditional exact certificate for the primitive oracle-label tier. This packages a verified block encoding only from an explicit proof of 'primitiveAmplitudeOracleSemanticContract n'; the contract itself remains an open primitive-oracle obligation until such a proof or accepted primitive axiom is supplied.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:4128. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.268●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleVerified (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : QuantumBlockEncoding.VerifiedOperatorBlockEncoding ℚ n
def QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleVerified (n : ℕ) (h : QuantumBlockEncoding.CubicDiagonalOracle.primitiveAmplitudeOracleSemanticContract n) : QuantumBlockEncoding.VerifiedOperatorBlockEncoding ℚ n
Conditional exact certificate for the primitive oracle-label tier. This packages a verified block encoding only from an explicit proof of `primitiveAmplitudeOracleSemanticContract n`; the contract itself remains an open primitive-oracle obligation until such a proof or accepted primitive axiom is supplied.
Plain-English reading. This definition gives the library's named construction or computation for “amplitude oracle claim”. Human-facing construction claim for the first exact diagonal route.
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. State-preparation and exact rational Householder developments for the cubic benchmark family.
Technical source note. Human-facing construction claim for the first exact diagonal route.
Declaration kind. def.
Source: QuantumBlockEncoding/CubicStatePreparation.lean:4136. A commit-pinned external link is added by the publication build when the source exists at the published ref.
Lean code for Definition9.2.269●1 definition
Associated Lean declarations
-
defdefined in QuantumBlockEncoding/CubicStatePreparation.leancomplete
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleClaim : QuantumBlockEncoding.ConstructionClaim
def QuantumBlockEncoding.CubicDiagonalOracle.amplitudeOracleClaim : QuantumBlockEncoding.ConstructionClaim
Human-facing construction claim for the first exact diagonal route.