toric_code

  • full name: tenpy.models.toric_code

  • parent module: tenpy.models

  • type: module

Classes

DualSquare(Lx, Ly, sites, **kwargs)

The dual lattice of the square lattice (again square).

ToricCode(model_params)

Spin-S sites coupled by nearest neighbour interactions.

Module description

Kitaev’s exactly solvable toric code model.

As we put the model on a cylinder, the name “toric code” is a bit misleading, but it is the established name for this model…