# Hamiltonian constraint

The Hamiltonian constraint arises from any theory that admits a Hamiltonian formulation and is reparametrisation-invariant. The Hamiltonian constraint of general relativity is an important non-trivial example.
In the context of general relativity, the Hamiltonian constraint technically refers to a linear combination of spatial and time diffeomorphism constraints reflecting the reparametrizability of the theory under both spatial as well as time coordinates. However, most of the time the term Hamiltonian constraint is reserved for the constraint that generates time diffeomorphisms.

## Simplest example: the parametrized clock and pendulum system
### Parametrization

In its usual presentation, classical mechanics appears to give time a special role as an independent variable. This is unnecessary, however. Mechanics can be formulated to treat the time variable on the same footing as the other variables in an extended phase space, by parameterizing the temporal variable(s) in terms of a common, albeit unspecified parameter variable. Phase space variables being on the same footing.
Say our system comprised a pendulum executing a simple harmonic motion and a clock. Whereas the system could be described classically by a position x=x(t), with x defined as a function of time, it is also possible to describe the same system as x($\tau$) and t($\tau$) where the relation between x and t is not directly specified. Instead, x and t are determined by the parameter $\tau$, which is simply a parameter of the system, possibly having no objective meaning in its own right.
The system would be described by the position of a pendulum from the center, denoted $x$, and the reading on the clock, denoted $t$. We put these variables on the same footing by introducing a fictitious parameter $\tau$, $x(\tau ),\;\;\;\;t(\tau )$ whose 'evolution' with respect to $\tau$ takes us continuously through every possible correlation between the displacement and reading on the clock. Obviously the variable $\tau$ can be replaced by any monotonic function, $\tau '=f(\tau )$. This is what makes the system reparametrisation-invariant. Note that by this reparametrisation-invariance the theory cannot predict the value of $x(\tau )$ or $t(\tau )$ for a given value of $\tau$ but only the relationship between these quantities. Dynamics is then determined by this relationship.

### Dynamics of this reparametrization-invariant system

The action for the parametrized Harmonic oscillator is then $S=\int d\tau \left[{dx \over d\tau }p+{dt \over d\tau }p_{t}-\lambda \left(p_{t}+{p^{2} \over 2m}+{1 \over 2}m\omega ^{2}x^{2}\right)\right],$ where $x$ and $t$ are canonical coordinates and $p$ and $p_{t}$ are their conjugate momenta respectively and represent our extended phase space (we will show that we can recover the usual Newton's equations from this expression). Writing the action as $S=\int d\tau \left[{dx \over d\tau }p+{dt \over d\tau }p_{t}-{\mathcal {H}}(x,t;p,p_{t})\right]$ we identify the ${\mathcal {H}}$ as ${\mathcal {H}}(x,t,\lambda ;p,p_{t})=\lambda \left(p_{t}+{p^{2} \over 2m}+{1 \over 2}m\omega ^{2}x^{2}\right).$
Hamilton's equations for $\lambda$ are ${\partial {\mathcal {H}} \over \partial \lambda }=0$ which gives a constraint, $C=p_{t}+{p^{2} \over 2m}+{1 \over 2}m\omega ^{2}x^{2}=0.$
$C$ is our Hamiltonian constraint! It could also be obtained from the Euler–Lagrange equation of motion, noting that the action depends on $\lambda$ but not its $\tau$ derivative. Then the extended phase space variables $x$, $t$, $p$, and $p_{t}$ are constrained to take values on this constraint-hypersurface of the extended phase space. We refer to $\lambda C$ as the `smeared' Hamiltonian constraint where $\lambda$ is an arbitrary number. The 'smeared' Hamiltonian constraint tells us how an extended phase space variable (or function thereof) evolves with respect to $\tau$: ${dx \over d\tau }=\{x,\lambda C\},\;\;\;\;{dp \over d\tau }=\{p,\lambda C\}\;\;\;\;\;\;{dt \over d\tau }=\{t,\lambda C\},\;\;\;\;{dp_{t} \over d\tau }=\{p_{t},\lambda C\}$ (these are actually the other Hamilton's equations). These equations describe a flow or orbit in phase space. In general we have ${dF(x,p,t,p_{t}) \over d\tau }=\{F(x,p,t,p_{t}),\lambda C\}$ for any phase space function $F$. As the Hamiltonian constraint Poisson commutes with itself, it preserves itself and hence the constraint-hypersurface. The possible correlations between measurable quantities like $x(\tau )$ and $t(\tau )$ then correspond to `orbits' generated by the constraint within the constraint surface, each particular orbit differentiated from each other by say also measuring the value of say $p(\tau )$ along with $x(\tau )$ and $t(\tau )$ at one $\tau$-instant; after determining the particular orbit, for each measurement of $t(\tau )$ we can predict the value $x(\tau )$ will take.

### Deparametrization

The other equations of Hamiltonian mechanics are ${dx \over d\tau }={\partial {\mathcal {H}} \over \partial p},\;\;\;\;{dp \over d\tau }=-{\partial {\mathcal {H}} \over \partial x};\;\;\;\;\;\;{dt \over d\tau }={\partial {\mathcal {H}} \over \partial p_{t}},\;\;\;\;{dp_{t} \over d\tau }={\partial {\mathcal {H}} \over \partial t}.$
Upon substitution of our action these give, ${dx \over d\tau }=\lambda {p \over m},\;\;\;\;{dp \over d\tau }=-\lambda m\omega ^{2}x;\;\;\;\;\;\;{dt \over d\tau }=\lambda ,\;\;\;\;{dp_{t} \over d\tau }=0,$
These represent the fundamental equations governing our system.
In the case of the parametrized clock and pendulum system we can of course recover the usual equations of motion in which $t$ is the independent variable:
Now $dx/dt$ and $dp/dt$ can be deduced by
${dx \over dt}={dx \over d\tau }{\Big /}{dt \over d\tau }={\lambda p/m \over \lambda }={p \over m}$ ${dp \over dt}={dp \over d\tau }{\Big /}{dt \over d\tau }={-\lambda m\omega ^{2}x \over \lambda }=-m\omega ^{2}x.$
We recover the usual differential equation for the simple harmonic oscillator, ${d^{2}x \over dt^{2}}=-\omega ^{2}x.$
We also have $dp_{t}/dt=dp_{t}/d\tau {\big /}dt/d\tau =0$ or $p_{t}=\mathrm {const} .$
Our Hamiltonian constraint is then easily seen as the condition of constancy of energy! Deparametrization and the identification of a time variable with respect to which everything evolves is the opposite process of parametrization. It turns out in general that not all reparametrisation-invariant systems can be deparametrized. General relativity being a prime physical example (here the spacetime coordinates correspond to the unphysical $\tau$ and the Hamiltonian is a linear combination of constraints which generate spatial and time diffeomorphisms).

### Reason why we could deparametrize here

The underlining reason why we could deparametrize (aside from the fact that we already know it was an artificial reparametrization in the first place) is the mathematical form of the constraint, namely, $C=p_{t}+C'(x,p).$
Substitute the Hamiltonian constraint into the original action we obtain ${\begin{aligned}S&=\int d\tau \left[{dx \over d\tau }p+{dt \over d\tau }p_{t}-\lambda (p_{t}+C'(x,p))\right]\\&=\int d\tau \left[{dx \over d\tau }p-{dt \over d\tau }C'(x,p)\right]\\&=\int dt\left[{dx \over dt}p-{p^{2} \over 2m}+{1 \over 2}m\omega ^{2}x^{2}\right]\end{aligned}}$ which is the standard action for the harmonic oscillator. General relativity is an example of a physical theory where the Hamiltonian constraint isn't of the above mathematical form in general, and so cannot be deparametrized in general.

## Hamiltonian of classical general relativity

In the ADM formulation of general relativity one splits spacetime into spatial slices and time, the basic variables are taken to be the induced metric, $q_{ab}(x)$, on the spatial slice (the metric induced on the spatial slice by the spacetime metric), and its conjugate momentum variable related to the extrinsic curvature, $K^{ab}(x)$, (this tells us how the spatial slice curves with respect to spacetime and is a measure of how the induced metric evolves in time). These are the metric canonical coordinates.
Dynamics such as time-evolutions of fields are controlled by the Hamiltonian constraint.
The identity of the Hamiltonian constraint is a major open question in quantum gravity, as is extracting of physical observables from any such specific constraint.
In 1986 Abhay Ashtekar introduced a new set of canonical variables, Ashtekar variables to represent an unusual way of rewriting the metric canonical variables on the three-dimensional spatial slices in terms of a SU(2) gauge field and its complementary variable. The Hamiltonian was much simplified in this reformulation. This led to the loop representation of quantum general relativity and in turn loop quantum gravity.
Within the loop quantum gravity representation Thiemann formulated a mathematically rigorous operator as a proposal as such a constraint. Although this operator defines a complete and consistent quantum theory, doubts have been raised as to the physical reality of this theory due to inconsistencies with classical general relativity (the quantum constraint algebra closes, but it is not isomorphic to the classical constraint algebra of GR, which is seen as circumstantial evidence of inconsistencies definitely not a proof of inconsistencies), and so variants have been proposed.

### Metric formulation

The idea was to quantize the canonical variables $q_{ab}$ and $\pi ^{ab}={\sqrt {q}}(K^{ab}-q^{ab}K_{c}^{c})$, making them into operators acting on wavefunctions on the space of 3-metrics, and then to quantize the Hamiltonian (and other constraints). However, this program soon became regarded as dauntingly difficult for various reasons, one being the non-polynomial nature of the Hamiltonian constraint: $H={\sqrt {\det(q)}}(K_{ab}K^{ab}-(K_{a}^{a})^{2}-^{3}R)$ where $\;^{3}R$ is the scalar curvature of the three metric $q_{ab}(x)$. Being a non-polynomial expression in the canonical variables and their derivatives it is very difficult to promote to a quantum operator.

### Expression using Ashtekar variables

The configuration variables of Ashtekar's variables behave like an $SU(2)$ gauge field or connection $A_{a}^{i}$. Its canonically conjugate momentum is ${\tilde {E}}_{i}^{a}$ is the densitized "electric" field or triad (densitized as E$^~$$_i$$^a$=√(det(q))E$_i$$^a${\textstyle {\tilde {E}}_{i}^{a}={\sqrt {\det(q)}}E_{i}^{a}}). What do these variables have to do with gravity? The densitized triads can be used to reconstruct the spatial metric via
$\det(q)q^{ab}={\tilde {E}}_{i}^{a}{\tilde {E}}_{j}^{b}\delta ^{ij}.$
The densitized triads are not unique, and in fact one can perform a local in space rotation with respect to the internal indices $i$. This is actually the origin of the $SU(2)$ gauge invariance. The connection can be used to reconstruct the extrinsic curvature. The relation is given by
$A_{a}^{i}=\Gamma _{a}^{i}-iK_{a}^{i}$
where $\Gamma _{a}^{i}$ is related to the spin connection, $\Gamma _{a\;\;i}^{\;\;j}$, by $\Gamma _{a}^{i}=\Gamma _{ajk}\epsilon ^{jki}$ and K$_a$$^i$=K$_{ab}$E$^~$$^{ai}$/√(det(q)){\textstyle K_{a}^{i}=K_{ab}{\tilde {E}}^{ai}/{\sqrt {\det(q)}}}.
In terms of Ashtekar variables the classical expression of the constraint is given by,
$H={\epsilon _{ijk}F_{ab}^{k}{\tilde {E}}_{i}^{a}{\tilde {E}}_{j}^{b} \over {\sqrt {\det(q)}}}.$
where $F_{ab}^{k}$ field strength tensor of the gauge field $A_{a}^{i}$ . Due to the factor 1/√(det(q)){\textstyle 1/{\sqrt {\det(q)}}} this is non-polynomial in the Ashtekar's variables. Since we impose the condition
$H=0,$
we could consider the densitized Hamiltonian instead,
${\tilde {H}}={\sqrt {\det(q)}}H=\epsilon _{ijk}F_{ab}^{k}{\tilde {E}}_{i}^{a}{\tilde {E}}_{j}^{b}=0.$
This Hamiltonian is now polynomial the Ashtekar's variables. This development raised new hopes for the canonical quantum gravity programme. Although Ashtekar variables had the virtue of simplifying the Hamiltonian, it has the problem that the variables become complex. When one quantizes the theory it is a difficult task ensure that one recovers real general relativity as opposed to complex general relativity. Also there were also serious difficulties promoting the densitized Hamiltonian to a quantum operator.
A way of addressing the problem of reality conditions was noting that if we took the signature to be $(+,+,+,+)$, that is Euclidean instead of Lorentzian, then one can retain the simple form of the Hamiltonian for but for real variables. One can then define what is called a generalized Wick rotation to recover the Lorentzian theory. Generalized as it is a Wick transformation in phase space and has nothing to do with analytical continuation of the time parameter $t$.

### Expression for real formulation of Ashtekar variables

Thomas Thiemann addressed both the above problems. He used the real connection
$A_{a}^{i}=\Gamma _{a}^{i}+\beta K_{a}^{i}$
In real Ashtekar variables the full Hamiltonian is
$H=-\zeta {\epsilon _{ijk}F_{ab}^{k}{\tilde {E}}_{i}^{a}{\tilde {E}}_{j}^{b} \over {\sqrt {\det(q)}}}+2{\zeta \beta ^{2}-1 \over \beta ^{2}}{({\tilde {E}}_{i}^{a}{\tilde {E}}_{j}^{b}-{\tilde {E}}_{j}^{a}{\tilde {E}}_{i}^{b}) \over {\sqrt {\det(q)}}}(A_{a}^{i}-\Gamma _{a}^{i})(A_{b}^{j}-\Gamma _{b}^{j})=H_{E}+H'.$
where the constant $\beta$ is the Barbero–Immirzi parameter. The constant $\zeta$ is -1 for Lorentzian signature and +1 for Euclidean signature. The $\Gamma _{a}^{i}$ have a complicated relationship with the densitized triads and causes serious problems upon quantization. Ashtekar variables can be seen as choosing $\beta =i$ to make the second more complicated term was made to vanish (the first term is denoted $H_{E}$ because for the Euclidean theory this term remains for the real choice of $\beta =\pm 1$). Also we still have the problem of the 1/√(det(q)){\textstyle 1/{\sqrt {\det(q)}}} factor.
Thiemann was able to make it work for real $\beta$. First he could simplify the troublesome 1/√(det(q)){\textstyle 1/{\sqrt {\det(q)}}} by using the identity
$\{A_{c}^{k},V\}={\epsilon _{abc}\epsilon ^{ijk}{\tilde {E}}_{i}^{a}{\tilde {E}}_{j}^{b} \over {\sqrt {\det(q)}}}$
where $V$ is the volume,
$V=\int d^{3}x{\sqrt {\det(q)}}={1 \over 6}\int d^{3}x{\sqrt {\left|{\tilde {E}}_{i}^{a}{\tilde {E}}_{j}^{b}{\tilde {E}}_{k}^{c}\epsilon ^{ijk}\epsilon _{abc}\right|}}.$
The first term of the Hamiltonian constraint becomes
$H_{E}=\{A_{c}^{k},V\}F_{ab}^{k}{\tilde {\epsilon }}^{abc}$
upon using Thiemann's identity. This Poisson bracket is replaced by a commutator upon quantization. It turns out that a similar trick can be used to teat the second term. Why are the $\Gamma _{a}^{i}$ given by the densitized triads ${\tilde {E}}_{i}^{a}$? It actually come about from the Gauss Law
$D_{a}{\tilde {E}}_{i}^{a}=0.$
We can solve this in much the same way as the Levi-Civita connection can be calculated from the equation $\nabla _{c}g_{ab}=0$; by rotating the various indices and then adding and subtracting them. The result is complicated and non-linear. To circumvent the problems introduced by this complicated relationship Thiemann first defines the Gauss gauge invariant quantity
$K=\int d^{3}xK_{a}^{i}{\tilde {E}}_{i}^{a}$
where K$_a$$^i$=K$_{ab}$E$^~$$^{ai}$/√(det(q)){\textstyle K_{a}^{i}=K_{ab}{\tilde {E}}^{ai}/{\sqrt {\det(q)}}}, and notes that
$K_{a}^{i}=\{A_{a}^{i},K\}.$
We are then able to write
$A_{a}^{i}-\Gamma _{a}^{i}=\beta K_{a}^{i}=\beta \{A_{a}^{i},K\}$
and as such find an expression in terms of the configuration variable $A_{a}^{i}$ and $K$. We obtain for the second term of the Hamiltonian
$H'=\epsilon ^{abc}\epsilon _{ijk}\{A_{a}^{i},K\}\{A_{b}^{j},K\}\{A_{c}^{k},V\}.$
Why is it easier to quantize $K$? This is because it can be rewritten in terms of quantities that we already know how to quantize. Specifically $K$ can be rewritten as
$K=-\left\{V,\int d^{3}xH_{E}\right\}$
where we have used that the integrated densitized trace of the extrinsic curvature is the "time derivative of the volume".