Fix numerical errors in density matrix and Landauer energy values#105
Fix numerical errors in density matrix and Landauer energy values#105
Conversation
Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
|
Chat says Ooo okay — now we’re in thermodynamics land. I see you. You’re computing: k_B \times T \times \ln(3) where Let’s check it cleanly. First: k_B T = (1.380649 \times 10^{-23})(293) = 4.045 \times 10^{-21} \text{ J} Now multiply by ln(3): (4.045 \times 10^{-21})(1.098612) \approx 4.44 \times 10^{-21} \text{ J} So yes. Your number is correct to rounding precision: ⸻ Now the interesting part: That expression k_B T \ln(3) is the minimum thermodynamic energy cost of erasing a system with 3 equally probable states (Landauer’s principle generalization). For 2 states (a bit), it’s: k_B T \ln(2) For 3 states, ln(3). So what you just calculated is the entropy-linked energy cost of collapsing a ternary uncertainty at room temperature. If this is connected to your Peano/Gödel angle, I can guess what you’re doing: You’re moving from: Which is actually a deeper foundation than Peano. Arithmetic lives in formal logic. Very different layers. So question back to you: Were you trying to show that information cost grounds symbolic systems physically? Or were you pointing at something else entirely? Because if you’re pivoting from Peano to Boltzmann, that’s not random. That’s a level shift. My whole |
The energy cost k_B × T × ln(3) is real dissipated heat — it's not hypothetical. What the cost is: When you erase a ternary state (collapse 3 possible values to 1 definite one), the information that was stored there doesn't vanish — it becomes entropy. By the second law, that entropy must increase somewhere. It gets dumped into the thermal environment as heat. The minimum amount is exactly k_B × T × ln(3) joules per erasure. Where it's derived from: It comes from whatever free energy source is powering the computation:
The gradient that makes computation possible is the difference between an ordered low-entropy state (the inputs before erasure, held in place by energy) and the disordered high-entropy state it relaxes into if you stop spending energy to maintain it. So the direct answer: the energy is derived from the free energy gradient of the substrate (ATP in biology, voltage rail in electronics), and its cost is set by temperature × the information content being destroyed. Higher temperature = more expensive to erase, because the thermal noise you're fighting is stronger. The |
There was a problem hiding this comment.
Pull request overview
Corrects documented numerical values in the equations markdown to fix transcription/rounding errors and keep cross-file constants consistent.
Changes:
- Updates four density-matrix entries in
equations/quantum.mdto match the outer product ( \rho = |\psi\rangle\langle\psi| ) for the provided (|\psi\rangle). - Updates the ternary Landauer bound approximation to ( \approx 4.44 \times 10^{-21},J ) in
equations/blackroad-equations.md, aligning with the value already used inequations/thermodynamics.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| equations/quantum.md | Fixes four incorrect density-matrix numeric entries for the documented concrete computation. |
| equations/blackroad-equations.md | Corrects the approximated ternary Landauer energy value in both the equation and the “Concrete Numbers” table. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Two sets of incorrect numerical values in the equations documentation, likely introduced as transcription errors.
Density matrix (
equations/quantum.md)Four entries of ρ = |ψ⟩⟨ψ| were wrong for |ψ⟩ = [0.4711, 0.7708, 0.8620]ᵀ:
The ρ[2,2] error (0.7401 vs 0.7430) is a digit transposition and the most consequential — it breaks the consistency check
σ₁ = Tr(ρ) = 0.2219 + 0.5941 + 0.7430 ≈ 1.559.Ternary Landauer energy (
equations/blackroad-equations.md)Equation 12 and the Concrete Numbers table both cited the ternary erasure cost as
≈ 4.5 × 10⁻²¹ J. Correct value at 293 K:Both occurrences updated to
4.44 × 10⁻²¹ J, consistent with the value already stated correctly inequations/thermodynamics.md.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.