{% extends "layout.html" %} {% block title %}Cadabra: Tutorials{% endblock %} {% block description %}Tutorials for Cadabra, from first steps to tensor polynomials, general relativity, spinors, components and numerics, all made from Cadabra notebooks.{% endblock %} {% block section %}learn{% endblock %} {% block breadcrumb %} {% endblock %} {% block main %}

Tutorials

The tutorials listed below are meant to illustrate Cadabra concepts at the level of simple examples; for research-level applications of Cadabra please see the papers section.

The pages linked below are produced from actual Cadabra notebooks. Instead of reading them on-line, you can also download the notebooks and play with them inside Cadabra. If you have a nice notebook that you think would help others to learn Cadabra, please get in touch.

Getting started

For new users of Cadabra, to get you started with the input format and basic symbolic manipulations.

Actions, equations of motion, variational derivatives

Quantum mechanics, groups and algebras

About using operators and other non-commuting objects, together with their commutation relations.

Abstract gravity and differential geometry

Cadabra was originally written in order to facilitate computations in extensions of general relativity including supergravity.

Curved space-times

Learn how to do abstract tensor computations and then compute explicit components, for a number of examples from general relativity.

Intermediate

Kerr spacetime

Compute Christoffel symbols, Riemann and Ricci tensor and the Kretschmann scalar for the Kerr metric, and learn how to speed up the simplification of components.

Advanced

Kaluza-Klein

Somewhat related to component computations is the concept of splitting a vector bundle into two parts, like you do in Kaluza-Klein models. The following notebook is also discussed in the original Cadabra paper hep-th/0701238.

Numerics and plotting

Programming Cadabra

Learn how to do more complicated things, by combining Cadabra algorithms into your own Python programs and storing these in modules.

SymPy users

Cadabra relies on SymPy for a lot of scalar computer algebra, that is, for algebra on expressions which do not involve indices.

{%- endblock %}