An open-boundary matrix product state with physical dimension and bond dimension is
where the are matrices and are boundary vectors. For periodic boundary conditions, replace the boundary contraction by the matrix trace .
The same matrices define the matrix product state transfer map
When , the Stinespring dilation
is an isometry. Repeatedly applying stores each Kraus label in a fresh physical register:
Contracting the remaining virtual system with gives an MPS, while tracing over all recorded labels gives repeated application of the completely positive map . The MPS is therefore a coherent unravelling of the channel. Equivalently, retaining the Kraus-label registers realizes a purification of its output. A non-normalized MPS tensor gives the same construction with a general completely positive map; an appropriate canonical gauge normalizes the transfer map on its support.
Let be a linear map. It is positive when implies , and completely positive when
is positive for every ancillary dimension . In finite dimensions it is enough to check .
A finite family of Kraus operators defines the Kraus representation
This map is completely positive because, for every positive semidefinite matrix on the enlarged space,
Conversely, use the unnormalized maximally entangled vector . Complete positivity makes the Choi matrix
positive semidefinite. By the spectral theorem for normal operators, , where . Reshape each into a matrix by . The Choi matrix inversion formula
then gives . Thus finite Kraus representations characterize finite-dimensional completely positive maps.
The additional normalization
makes trace preserving and hence a quantum channel; instead makes it unital.
Each of the vortices contributes one bulk Majorana zero mode. A finite fermionic system must have an even total number of Majorana zero modes. The boundary Chiral Majorana edge mode has no zero momentum in the antiperiodic sector but has one Majorana mode in the periodic sector. Therefore
or compactly . This boundary condition of a chiral Majorana edge mode supplies the extra boundary zero mode exactly when the vortex count is odd.
The two new boundaries surround opposite sides of the same bulk. Their induced orientations are opposite, so their chiral edge modes counterpropagate and .
For and , define the mass
It approaches on the left and on the right. The zero-energy first-order equations have one normalizable real solution, whose envelope can be chosen as
after choosing the constant Majorana spinor with the appropriate relative sign. The corresponding operator
is self-adjoint and commutes with the Hamiltonian, so it is a Majorana zero mode at a mass domain wall.
Outside the core it decays on
If the phase varies approximately linearly across the core, then near zero and the central envelope is Gaussian with width
Thus the spatial extent is of order , up to constants depending on the detailed vortex profile. When , continuously changing their magnitudes to equality never changes their opposite signs or closes the asymptotic mass gap. The mass domain wall therefore retains its odd, particle-hole-protected zero mode; only its two component amplitudes and localization lengths change.
The group velocity is . Since it is positive everywhere on the branch, every wave packet travels in the same direction: this is a Chiral Majorana edge mode.
Near , particle-hole symmetry gives . Let annihilate the positive- part of this branch. Particle-hole symmetry identifies . Hence
satisfies and is a Majorana field. Fourier transforming the linear dispersion gives
The continuum analogue of the real antisymmetric matrix is the real anti-self-adjoint differential kernel
up to the normalization convention for the Majorana anticommutator.
Position-space particle-hole symmetry complex-conjugates plane waves, so the Fourier transform sends to . Fourier transforming the stated relation therefore gives
If , complex conjugation and multiplication by yield
Thus the Particle-hole symmetry of a Bogoliubov--de Gennes Hamiltonian imposes
or, band by band after a suitable relabelling, .
For each complex fermion define two Majorana fermion operators
They obey , , and . Substituting these inverse relations expands every hopping and pairing monomial as a bilinear in the . Diagonal terms contribute only a constant.
For , is anti-Hermitian. Hermiticity of the original quadratic fermion Hamiltonian therefore makes its coefficient purely imaginary, so it can be written with real. Since
the symmetric part again changes only the constant. Absorbing conventional factors into gives
Choose both circular ends of the cylinder to be electric, or rough, boundaries. In the convention of part 1, retain plaquette generators
with their boundary truncations, and use star generators
only at vertices not lying on an electric boundary. Omitting the endpoint star checks allows a string to terminate at either boundary, which is precisely anyon condensation at a boundary for .
Relative homology now has one nontrivial class represented by a primal path joining the two boundaries. The dual absolute homology has one class represented by an loop around the cylinder. Their strings intersect once and anticommute, so they form one logical pair . Every other closed or boundary-ending string is a product of stabilizers, so the code has exactly one logical qubit.
In the Random-bond Ising model mapping, there is no Ising spin for an omitted boundary star. An edge joining an interior vertex to an electric boundary is toggled by only , so its bond factor is replaced by the boundary-field factor . Equivalently, attach exterior spins fixed to and retain the same bond formula. Edges wholly on a boundary contribute fixed constants. The bulk Hamiltonian is therefore supplemented by
with the signs still determined by . This is the required boundary modification.
Fix the reference bit-flip chain
and assign to each lattice edge the bond sign
where if contains and is zero otherwise. A product of star stabilizers is specified by Ising spins : choose the star at when . The resulting error has edge occupation
For edges, its independent bit-flip probability is
because . Summing over products of stars therefore gives the Surface-code decoding as a random-bond Ising model identity
where is the number of Ising configurations representing the same stabilizer product, usually on a closed connected lattice because a global spin flip changes no bond. The class-independent prefactor cancels when the two logical classes are compared.
Measure each generator . If a Pauli error has occurred, its outcome is , where
The bit vector is the error syndrome. Choose one representative with this syndrome. Another Pauli has the same syndrome exactly when commutes with every , namely when . Therefore
This stabilizer-syndrome coset is all the syndrome reveals: multiplication by a stabilizer changes nothing on the code, while multiplication by an element of can change the logical state without changing any syndrome bit.
Every element of the -qubit Pauli group squares to either or . If a stabilizer generator had , closure of the group would put in , contrary to the definition. Thus . Since Pauli operators are unitary,
and proves .
If two stabilizers anticommute and a nonzero vector belonged to the codespace, then
a contradiction. Hence a nonzero stabilizer code requires to be Abelian. Its centralizer of a stabilizer group is
For
the vectors and have
The K-matrix formula therefore gives bosonic self-exchange for and mutual full-braiding phase
Fusion adds vectors. Because
both double fusions lie in and braid trivially with every vector; hence they represent the vacuum in the anyon lattice of an Abelian Chern--Simons theory. Finally has , so its exchange phase is . These are exactly the fusion and braiding data of the surface-code anyon model.
In the charge-flux composite model, particle acquires the Aharonov-Bohm effect phase when it circles the flux of particle . The reciprocal Aharonov-Casher effect contributes . Thus the full braid is
The assumption for and says
For any allowed particle , the full braid with is ; similarly every particle braids trivially with . Under the stated operational identification,
For , exchanging two identical composites is half their full braid and gives
Therefore and reproduce the bosonic and particles, in either order, and reproduces their fermionic fusion product .
The composite is . Exchanging two composites exchanges the two constituents and the two constituents and produces one mutual winding between unlike constituents. The identical-particle phases are both , while the mutual contribution is , hence
The topological spin obeys , so
This is precisely the two-dimensional spin-statistics relation for a fermion, so the result is consistent.
Use the standard toric code convention
An open string anticommutes with at its endpoints and creates the electric particles there; an open dual-lattice string creates magnetic particles at its endpoint plaquettes. Joining two strings cancels every shared Pauli because . Bringing two identical endpoints together therefore annihilates them:
Taking around makes its closed string cross the string ending on once. At that crossing , so the state acquires . The same argument with the roles reversed gives
Identical strings commute with one another, as do identical strings. Their exchanges can be deformed without a crossing between anticommuting operators, so . Thus and are bosons and are mutual semions, as summarized by the surface-code anyon model.
The periodic centered-difference kinetic matrix is real symmetric, and the sampled real potential is a real diagonal matrix. Therefore and are skew-Hermitian, so each matrix exponential in the Strang splitting is a unitary matrix. Their product is unitary as well. Hence
The centered spatial second difference has error . The symmetric composition
is Strang splitting, so its local splitting error is and its global time order is two. Because both semidiscrete subproblems are solved exactly, the total global error is
Write . The real potential and periodic boundary conditions make a self-adjoint operator. Since ,
because the expectation of a self-adjoint operator is real. Equivalently, integrating the kinetic term by parts leaves and the periodic boundary term cancels. Thus the continuous Schrödinger equation preserves its norm.
Choose a mesh of and the conforming space of Cubic Hermite finite elements: piecewise cubic functions that are globally and satisfy . Let be its nodal value-and-slope basis. For , the Ritz method imposes
Hence the coefficient vector solves
The stiffness matrix is symmetric positive definite by part a.
Define the energy
Its first variation in direction is
Thus its minimizer satisfies the weak formulation
which is the weak equation . Positive definiteness makes strictly convex, so this stationary point is the unique minimizer; under uniform positivity of , existence follows from the Lax-Milgram theorem.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact