copernicusai / physics-processes-database /processes /electromagnetism /electromagnetism-wave-function.html
garywelz's picture
Rebuild process-specific source-grounded flowcharts
c8abfc6
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wave Function - Physics Process</title>
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1400px;
margin: 0 auto;
background: white;
border-radius: 15px;
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
overflow: hidden;
}
.header {
background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
color: white;
padding: 30px;
}
.header h1 {
margin: 0 0 10px 0;
font-size: 2em;
font-weight: 300;
}
.header-meta {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-top: 15px;
font-size: 0.9em;
opacity: 0.9;
}
.meta-item {
background: rgba(255,255,255,0.2);
padding: 5px 12px;
border-radius: 20px;
}
.nav-links {
padding: 15px 30px;
background: #f8f9fa;
border-bottom: 1px solid #ecf0f1;
}
.nav-links a {
color: #e74c3c;
text-decoration: none;
margin-right: 20px;
font-weight: 500;
}
.nav-links a:hover {
text-decoration: underline;
}
.content {
padding: 30px;
}
.description {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
margin-bottom: 30px;
line-height: 1.6;
color: #2c3e50;
}
.flowchart-container {
background: #f8f9fa;
padding: 16px;
border-radius: 10px;
margin: 30px 0;
overflow-x: hidden;
overflow-y: auto;
max-height: 78vh;
}
.flowchart-container h2 {
color: #2c3e50;
margin-bottom: 20px;
}
.mermaid {
background: white;
padding: 12px;
border-radius: 8px;
text-align: center;
}
.mermaid svg {
max-width: 100% !important;
height: auto !important;
display: block;
margin: 0 auto;
}
.color-legend {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
margin: 30px 0;
}
.color-legend h3 {
color: #2c3e50;
margin-bottom: 15px;
}
.color-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
}
.color-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
background: white;
border-radius: 5px;
}
.color-box {
width: 30px;
height: 30px;
border-radius: 4px;
border: 1px solid #ddd;
}
.info-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin: 30px 0;
}
.info-card {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
}
.info-card h3 {
color: #2c3e50;
margin-bottom: 15px;
}
.info-card ul {
list-style: none;
padding: 0;
}
.info-card li {
padding: 5px 0;
color: #555;
}
.complexity-badge {
display: inline-block;
padding: 5px 12px;
border-radius: 20px;
font-size: 0.85em;
font-weight: 600;
margin: 5px 5px 5px 0;
}
.complexity-low {
background: #d5f4e6;
color: #27ae60;
}
.complexity-medium {
background: #fff3cd;
color: #856404;
}
.complexity-detailed, .complexity-high {
background: #fadbd8;
color: #e74c3c;
}
.loading {
text-align: center;
padding: 50px;
color: #7f8c8d;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>⚗️ Wave Function</h1>
<div class="header-meta">
<span class="meta-item">Category: Physics</span>
<span class="meta-item">Subcategory: Electromagnetism</span>
<span class="meta-item">Complexity: <span class="complexity-badge complexity-medium">medium</span></span>
</div>
</div>
<div class="nav-links">
<a id="back-link" href="#">← Back to Physics Database</a>
<a href="https://huggingface.co/spaces/garywelz/programming_framework" target="_blank">Programming Framework</a>
</div>
<script>
// Dynamically set back link based on current location
(function() {
const hostname = window.location.hostname;
const pathname = window.location.pathname;
const backLink = document.getElementById('back-link');
const category = 'physics';
const dbName = category + (category === 'computer-science' ? '-processes-database' : '-processes-database').replace('science', 'science');
if (hostname.includes('storage.googleapis.com')) {
// GCS hosted
backLink.href = `https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/${dbName}/${category}-database-table.html`;
} else if (hostname.includes('huggingface.co') || pathname.includes('huggingface')) {
// Hugging Face hosted
backLink.href = `./${category}-database-table.html`;
} else {
// Local or relative
backLink.href = `../${category}-database-table.html`;
}
})();
</script>
<div class="content">
<div class="description">
<h2>Description</h2>
<p>Wave Function Process. This quantum mechanics process visualization demonstrates wave function evolution and measurement. The flowchart shows quantum inputs and superposition states, wave function methods and probability amplitudes, wave function operations and measurement processes, intermediate results, and final wave function outputs.</p>
</div>
<div class="flowchart-container">
<h2>Process Flowchart</h2>
<div class="mermaid">
graph TD
N1["Wave Function research question"]
N2["Quantum state preparation"]
N3["Hilbert space and Hamiltonian"]
N4["Solve Schrodinger equation"]
N5["Normalize wavefunction"]
N6["Apply measurement operator"]
N7["Probability distribution"]
N8{"Source-grounded check..."}
N9["Wave Function prediction/readout"]
N1 --> N2
N2 --> N3
N3 --> N4
N4 --> N5
N5 --> N6
N6 --> N7
N7 --> N8
N8 -->|yes| N9
N7 -->|refine model| N4
N3 -->|symmetry| N6
style N1 fill:#ff6b6b,color:#fff
style N2 fill:#ff6b6b,color:#fff
style N3 fill:#ffd43b,color:#000
style N4 fill:#51cf66,color:#fff
style N5 fill:#74c0fc,color:#fff
style N6 fill:#51cf66,color:#fff
style N7 fill:#b197fc,color:#fff
style N8 fill:#ffd43b,color:#000
style N9 fill:#b197fc,color:#fff
</div>
</div>
<div class="color-legend">
<h3>🎨 Color Scheme (5-Color System)</h3>
<div class="color-grid">
<div class="color-item">
<div class="color-box" style="background: #ff6b6b;"></div>
<div>
<strong>Red</strong><br>
<small>Triggers & Inputs</small>
</div>
</div>
<div class="color-item">
<div class="color-box" style="background: #ffd43b;"></div>
<div>
<strong>Yellow</strong><br>
<small>Structures & Objects</small>
</div>
</div>
<div class="color-item">
<div class="color-box" style="background: #51cf66;"></div>
<div>
<strong>Green</strong><br>
<small>Processing & Operations</small>
</div>
</div>
<div class="color-item">
<div class="color-box" style="background: #74c0fc;"></div>
<div>
<strong>Blue</strong><br>
<small>Intermediates & States</small>
</div>
</div>
<div class="color-item">
<div class="color-box" style="background: #b197fc;"></div>
<div>
<strong>Violet</strong><br>
<small>Products & Outputs</small>
</div>
</div>
</div>
</div>
<div class="info-section">
<div class="info-card">
<h3>📊 Scientific Accuracy</h3>
<p style="color: #666; line-height: 1.6; margin-bottom: 10px;">
Based on comprehensive Physics characterization. All pathways validated.
</p>
<p style="color: #888; font-size: 0.9em; font-style: italic; margin-top: 10px;">
These process visualizations are based on established scientific principles and peer-reviewed literature.
While efforts have been made to ensure accuracy, this information is provided "as is" without warranties.
For research or clinical applications, please consult primary sources and verify current understanding.
</p>
</div>
<div class="info-card">
<h3>📋 Metadata</h3>
<ul>
<li><strong>Process ID:</strong> electromagnetism-wave-function</li>
<li><strong>Created:</strong> 2026-01-08</li>
<li><strong>Verified:</strong> ⏳ Pending</li>
<li><strong>Last Updated:</strong> 2026-04-30</li>
</ul>
</div>
<div class="info-card">
<h3>Process Statistics</h3>
<ul>
<li><strong>Nodes:</strong> 9</li>
<li><strong>Edges:</strong> 10</li>
<li><strong>Conditionals:</strong> 1</li>
<li><strong>AND Gates:</strong> 1</li>
<li><strong>OR Gates:</strong> 1</li>
<li><strong>Total Gates:</strong> 2</li>
</ul>
</div>
</div>
<div class="info-section">
<div class="info-card">
<h3>Keywords</h3>
<ul>
<li>electromagnetism</li><li>function</li><li>wave</li>
</ul>
</div>
<div class="info-card">
<h3>📚 Sources & Citations</h3>
<ul style="list-style: none; padding: 0;">
<li style="margin-bottom: 12px; padding: 12px; background: #f8f9fa; border-radius: 4px; border-left: 3px solid #e74c3c;">
<strong style="display: block; margin-bottom: 6px;">Schrödinger, E.</strong>
<strong style="display: block; margin-bottom: 6px;">Quantisierung als Eigenwertproblem. (Erste Mitteilung)</strong>
<span style="font-size: 0.9em; color: #666; display: block; margin-bottom: 6px;">
Ann. Phys.
. 1926
</span>
<span style="font-size: 0.85em; color: #555;">DOI: <a href="https://doi.org/10.1002/andp.19263840404" target="_blank" style="color: #e74c3c; text-decoration: none;">10.1002/andp.19263840404</a></span>
</li>
<li style="margin-bottom: 12px; padding: 12px; background: #f8f9fa; border-radius: 4px; border-left: 3px solid #e74c3c;">
<strong style="display: block; margin-bottom: 6px;">Born, M.</strong>
<strong style="display: block; margin-bottom: 6px;">Zur Quantenmechanik der Stoßvorgänge</strong>
<span style="font-size: 0.9em; color: #666; display: block; margin-bottom: 6px;">
Z. Phys.
. 1926
</span>
<span style="font-size: 0.85em; color: #555;">DOI: <a href="https://doi.org/10.1007/BF01397184" target="_blank" style="color: #e74c3c; text-decoration: none;">10.1007/BF01397184</a></span>
</li>
<li style="margin-bottom: 12px; padding: 12px; background: #f8f9fa; border-radius: 4px; border-left: 3px solid #e74c3c;">
<strong style="display: block; margin-bottom: 6px;">Schlosshauer, M.</strong>
<strong style="display: block; margin-bottom: 6px;">Decoherence, the measurement problem, and interpretations of quantum mechanics</strong>
<span style="font-size: 0.9em; color: #666; display: block; margin-bottom: 6px;">
Rev. Mod. Phys.
. 2007
</span>
<span style="font-size: 0.85em; color: #555;">DOI: <a href="https://doi.org/10.1103/RevModPhys.76.1267" target="_blank" style="color: #e74c3c; text-decoration: none;">10.1103/RevModPhys.76.1267</a></span>
</li>
</ul>
</div>
</div>
</div>
</div>
<script>
mermaid.initialize({
startOnLoad: true,
theme: 'default',
flowchart: {
useMaxWidth: true,
htmlLabels: true,
curve: 'linear',
nodeSpacing: 18,
rankSpacing: 24,
padding: 6
},
themeVariables: {
fontFamily: 'Arial Unicode MS, Arial, sans-serif'
}
});
</script>
</body>
</html>