Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:quantum:seqnn [2026/05/21 07:16] kymkiprojects:quantum:seqnn [2026/05/21 08:45] (current) – [Introduction] kymki
Line 105: Line 105:
  
  
-====== SEQNN Stage 5: Entangled Generative Estimation ======+====== Self-Estimating Quantum Neural Networks ======
  
-//Exploratory research note. This work is being shaped toward a publishable paper claim, but the results described here should be read as "work under validation".//+//Exploratory research note. This work is being shaped toward a publishable paper, but the results described here should be read as "work under validation". Github/codeberg link coming once I have had a strong coffee and cleaned up the repo.//
  
 ===== Introduction ===== ===== Introduction =====
  
-Kalman filters are fascinating. How can they be applied to QML models to provide some sort of "self-estimation" of state to be used in parameter updates? This was the fundamental question here that drove me to go on a rather extensive exploration of this topic. In this post I will describe the current position of Self-Estimating Quantum Neural Networks (SEQNN).+Kalman filtering is fascinating and has a wide area of application. How can it be applied to QML models to provide some sort of "self-estimation" of state? This was the fundamental question here that drove me to go on a rather extensive exploration of this topic. In this post I will describe the current position of Self-Estimating Quantum Neural Networks (SEQNN).
  
 SEQNN, is an attempt to treat the parameters of a variational quantum model as latent states to be estimated sequentially, rather than as weights managed by a global optimizer. SEQNN, is an attempt to treat the parameters of a variational quantum model as latent states to be estimated sequentially, rather than as weights managed by a global optimizer.
Line 132: Line 132:
   * each node maintains both an estimate and an uncertainty.   * each node maintains both an estimate and an uncertainty.
  
-The important difference is not only "which update rule is used." The claim being explored is structural: when the model is written as an estimator, uncertainty, identifiability, calibration, and measurement attribution become first-class objects instead of after-the-fact diagnostics.+The important difference is not only "which update rule is used." Rather, when the model is written as an estimator, uncertainty, identifiability, calibration, and measurement attribution become terms we can use to reason with and build our algorithms around. Is that helpful? Lets see what the outcome is here.
  
-===== Roadmap position =====+===== Roadmap position (needs improvements) =====
  
 ^ Stage ^ Status ^ ^ Stage ^ Status ^
Line 234: Line 234:
 ===== Model ladder ===== ===== Model ladder =====
  
-The project deliberately moved through increasingly demanding observation models. The key pattern is: do not add parameters, entanglement, or topology until the observation equation says what can actually be observed.+The project moved through increasingly demanding observation models. The key pattern is: do not add parameters, entanglement, or topology until the observation equation says what can actually be observed.
  
 ^ Stage/model ^ Observation structure ^ What it tests ^ Claim status ^ ^ Stage/model ^ Observation structure ^ What it tests ^ Claim status ^
Line 243: Line 243:
 | Disjoint entangled ''RY+CNOT'' blocks | two-qubit CNOT blocks, but independent blocks | block attribution under entanglement | useful negative/diagnostic slice | | Disjoint entangled ''RY+CNOT'' blocks | two-qubit CNOT blocks, but independent blocks | block attribution under entanglement | useful negative/diagnostic slice |
 | Overlapping entangled ''RY+CNOT'' chain | nearest-neighbor factors share qubit parameters | distributed attribution through measurement factors | current Stage 5 publication target | | Overlapping entangled ''RY+CNOT'' chain | nearest-neighbor factors share qubit parameters | distributed attribution through measurement factors | current Stage 5 publication target |
- 
-===== Diagram: model progression ===== 
- 
-<html> 
-<div style="max-width: 980px; margin: 1.2rem 0; padding: 1rem; border: 1px solid #d6dee8; background: #fbfcfe;"> 
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 980 410" role="img" aria-label="SEQNN model progression from local RY to overlapping entangled RY CNOT chain" style="width: 100%; height: auto;"> 
-  <defs> 
-    <marker id="arrow" markerWidth="10" markerHeight="8" refX="9" refY="4" orient="auto"> 
-      <path d="M0,0 L10,4 L0,8 Z" fill="#455a64"></path> 
-    </marker> 
-  </defs> 
-  <rect x="24" y="30" width="176" height="108" rx="8" fill="#e8f2ff" stroke="#5c86b8"></rect> 
-  <text x="112" y="58" text-anchor="middle" font-family="Arial, sans-serif" font-size="16" font-weight="700" fill="#14395f">Stage 1</text> 
-  <text x="112" y="84" text-anchor="middle" font-family="Arial, sans-serif" font-size="14" fill="#14395f">local RY</text> 
-  <text x="112" y="108" text-anchor="middle" font-family="Arial, sans-serif" font-size="13" fill="#14395f">static recovery</text> 
-  <circle cx="82" cy="128" r="8" fill="#2f6fae"></circle> 
-  <circle cx="112" cy="128" r="8" fill="#2f6fae"></circle> 
-  <circle cx="142" cy="128" r="8" fill="#2f6fae"></circle> 
- 
-  <rect x="240" y="30" width="176" height="108" rx="8" fill="#e9f8ef" stroke="#5c9f72"></rect> 
-  <text x="328" y="58" text-anchor="middle" font-family="Arial, sans-serif" font-size="16" font-weight="700" fill="#1f5130">Stage 2</text> 
-  <text x="328" y="84" text-anchor="middle" font-family="Arial, sans-serif" font-size="14" fill="#1f5130">local RY</text> 
-  <text x="328" y="108" text-anchor="middle" font-family="Arial, sans-serif" font-size="13" fill="#1f5130">drift tracking</text> 
-  <path d="M286 126 C302 108, 320 144, 338 126 S374 126, 386 118" fill="none" stroke="#2e7d42" stroke-width="3"></path> 
- 
-  <rect x="456" y="30" width="176" height="108" rx="8" fill="#fff6df" stroke="#c69a3e"></rect> 
-  <text x="544" y="58" text-anchor="middle" font-family="Arial, sans-serif" font-size="16" font-weight="700" fill="#6a4812">Stage 4</text> 
-  <text x="544" y="84" text-anchor="middle" font-family="Arial, sans-serif" font-size="14" fill="#6a4812">local RY+RZ</text> 
-  <text x="544" y="108" text-anchor="middle" font-family="Arial, sans-serif" font-size="13" fill="#6a4812">XYZ readout</text> 
-  <text x="544" y="130" text-anchor="middle" font-family="Arial, sans-serif" font-size="12" fill="#6a4812">identifiable phi</text> 
- 
-  <rect x="672" y="30" width="176" height="108" rx="8" fill="#f2edf9" stroke="#8c6bb3"></rect> 
-  <text x="760" y="58" text-anchor="middle" font-family="Arial, sans-serif" font-size="16" font-weight="700" fill="#4d3372">Stage 5a</text> 
-  <text x="760" y="84" text-anchor="middle" font-family="Arial, sans-serif" font-size="14" fill="#4d3372">disjoint CNOT blocks</text> 
-  <text x="760" y="108" text-anchor="middle" font-family="Arial, sans-serif" font-size="13" fill="#4d3372">diagnostic slice</text> 
-  <line x1="730" y1="128" x2="758" y2="128" stroke="#6f5590" stroke-width="4"></line> 
-  <line x1="778" y1="128" x2="806" y2="128" stroke="#6f5590" stroke-width="4"></line> 
- 
-  <rect x="250" y="240" width="480" height="124" rx="8" fill="#eef7f8" stroke="#3f8c95" stroke-width="2"></rect> 
-  <text x="490" y="270" text-anchor="middle" font-family="Arial, sans-serif" font-size="18" font-weight="700" fill="#205b62">Current Stage 5 target</text> 
-  <text x="490" y="296" text-anchor="middle" font-family="Arial, sans-serif" font-size="15" fill="#205b62">overlapping RY+CNOT chain</text> 
-  <text x="490" y="320" text-anchor="middle" font-family="Arial, sans-serif" font-size="13" fill="#205b62">per-qubit EKFs plus Fisher-factor measurement updates</text> 
-  <circle cx="382" cy="348" r="10" fill="#2b7f89"></circle> 
-  <circle cx="454" cy="348" r="10" fill="#2b7f89"></circle> 
-  <circle cx="526" cy="348" r="10" fill="#2b7f89"></circle> 
-  <circle cx="598" cy="348" r="10" fill="#2b7f89"></circle> 
-  <line x1="392" y1="348" x2="444" y2="348" stroke="#2b7f89" stroke-width="5"></line> 
-  <line x1="464" y1="348" x2="516" y2="348" stroke="#2b7f89" stroke-width="5"></line> 
-  <line x1="536" y1="348" x2="588" y2="348" stroke="#2b7f89" stroke-width="5"></line> 
-  <text x="382" y="383" text-anchor="middle" font-family="Arial, sans-serif" font-size="12" fill="#205b62">theta0</text> 
-  <text x="454" y="383" text-anchor="middle" font-family="Arial, sans-serif" font-size="12" fill="#205b62">theta1</text> 
-  <text x="526" y="383" text-anchor="middle" font-family="Arial, sans-serif" font-size="12" fill="#205b62">theta2</text> 
-  <text x="598" y="383" text-anchor="middle" font-family="Arial, sans-serif" font-size="12" fill="#205b62">theta3</text> 
- 
-  <line x1="200" y1="84" x2="240" y2="84" stroke="#455a64" stroke-width="2.5" marker-end="url(#arrow)"></line> 
-  <line x1="416" y1="84" x2="456" y2="84" stroke="#455a64" stroke-width="2.5" marker-end="url(#arrow)"></line> 
-  <line x1="632" y1="84" x2="672" y2="84" stroke="#455a64" stroke-width="2.5" marker-end="url(#arrow)"></line> 
-  <path d="M760 138 C760 206, 650 236, 570 248" fill="none" stroke="#455a64" stroke-width="2.5" marker-end="url(#arrow)"></path> 
-  <text x="806" y="198" font-family="Arial, sans-serif" font-size="13" fill="#455a64">disjoint blocks were not enough</text> 
-</svg> 
-</div> 
-</html> 
  
 ===== The Stage 5 observation model ===== ===== The Stage 5 observation model =====