<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>All Blog - Zhongyi Ni</title><link>https://nzy1997.github.io/posts/</link><description>All Blog | Zhongyi Ni</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 02 Dec 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://nzy1997.github.io/posts/" rel="self" type="application/rss+xml"/><item><title>From the Torus to the Bolza Octagon: Hyperbolic Surface and Color Codes</title><link>https://nzy1997.github.io/posts/bolza-color-code/</link><pubDate>Wed, 02 Dec 2026 00:00:00 +0000</pubDate><author>Zhongyi Ni</author><guid>https://nzy1997.github.io/posts/bolza-color-code/</guid><description>&lt;p>In the toric code, gluing opposite sides of a flat rectangle produces a torus. Walk across the rectangle along a noncontractible loop and you return to your starting qubit; lift that same walk to the infinite square grid and you arrive at the matching point one lattice period away.&lt;/p>
&lt;p>Replace the Euclidean rectangle with a regular octagon in the hyperbolic plane and glue its opposite sides together. Instead of a single-handle torus, the cell closes into the Bolza surface, an orientable surface of genus \(g=2\) with two handles. Copies of the octagon tile the hyperbolic plane. That single glued octagon supports both surface codes and a color code: starting from a minimal four-square surface code on its radial spokes, we can refine the octagon into a three-colorable hyperbolic lattice for a \([[16,8,2]]\) color code, then return to surface codes to see how retiling and \(L\times L\) square refinement tune check weights and distances on the Bolza and Bring surfaces.&lt;/p></description></item></channel></rss>