.. _sphx_glr_api_gallery_condensed_spin_chains:
Quantum spin chains
-------------------
Exact diagonalization of spin-1/2 chains in their symmetry sectors,
checked against the classic exact solutions: Bethe's ansatz for the
Heisenberg antiferromagnet, the free-fermion solution of the
transverse-field Ising chain, and the Calabrese-Cardy logarithmic
entanglement of a critical chain versus the area law of a gapped one.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/condensed/spin_chains/images/thumb/sphx_glr_plot_bethe_ansatz_heisenberg_chain_thumb.png
:alt:
:doc:`/api/gallery/condensed/spin_chains/plot_bethe_ansatz_heisenberg_chain`
.. raw:: html
Bethe's ansatz for the Heisenberg antiferromagnetic chain
.. raw:: html
.. only:: html
.. image:: /api/gallery/condensed/spin_chains/images/thumb/sphx_glr_plot_calabrese_cardy_entanglement_thumb.png
:alt:
:doc:`/api/gallery/condensed/spin_chains/plot_calabrese_cardy_entanglement`
.. raw:: html
Calabrese-Cardy: logarithmic entanglement at criticality vs. the area law
.. raw:: html
.. only:: html
.. image:: /api/gallery/condensed/spin_chains/images/thumb/sphx_glr_plot_transverse_field_ising_free_fermions_thumb.png
:alt:
:doc:`/api/gallery/condensed/spin_chains/plot_transverse_field_ising_free_fermions`
.. raw:: html
The transverse-field Ising chain as free fermions
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/condensed/spin_chains/plot_bethe_ansatz_heisenberg_chain
/api/gallery/condensed/spin_chains/plot_calabrese_cardy_entanglement
/api/gallery/condensed/spin_chains/plot_transverse_field_ising_free_fermions