This article needs additional citations for verification. (November 2017) (Learn how and when to remove this template message)
Imaginary time is a mathematical representation of time which appears in some approaches to special relativity and quantum mechanics. It finds uses in connecting quantum mechanics with statistical mechanics and in certain cosmological theories.
Mathematically, imaginary time is real time which has undergone a Wick rotation so that its coordinates are multiplied by the imaginary root i. Imaginary time is not imaginary in the sense that it is unreal or made-up (any more than, say, irrational numbers defy logic), it is simply expressed in terms of what mathematicians call imaginary numbers.
One might think this means that imaginary numbers are just a mathematical game having nothing to do with the real world. From the viewpoint of positivist philosophy, however, one cannot determine what is real. All one can do is find which mathematical models describe the universe we live in. It turns out that a mathematical model involving imaginary time predicts not only effects we have already observed but also effects we have not been able to measure yet nevertheless believe in for other reasons. So what is real and what is imaginary? Is the distinction just in our minds?
...the words real and imaginary are picturesque relics of an age when the nature of complex numbers was not properly understood.
In the Minkowski spacetime model adopted by the theory of relativity, spacetime is represented as a four-dimensional surface or manifold. Its four-dimensional equivalent of a distance in three-dimensional space is called an interval. Assuming that a specific time period is represented as a real number in the same way as a distance in space, an interval in relativistic spacetime is given by the usual formula but with time negated:
where , and are distances along each spatial axis and is a period of time or "distance" along the time axis.
Mathematically this is equivalent to writing
In this context, may be either accepted as a feature of the relationship between space and real time, as above, or it may alternatively be incorporated into time itself, such that the value of is itself an imaginary number, and the equation rewritten in normalised form:
Similarly its four vector may then be written as
where distances are represented as , is the velocity of light and .
In physical cosmology, imaginary time may be incorporated into certain models of the universe which are solutions to the equations of general relativity. In particular, imaginary time can help to smooth out gravitational singularities, where known physical laws break down, to remove the singularity and avoid such breakdowns (see Hartle–Hawking state). The Big Bang, for example, appears as a singularity in ordinary time but, when modelled with imaginary time, the singularity can be removed and the Big Bang functions like any other point in four-dimensional spacetime. Any boundary to spacetime is a form of singularity, where the smooth nature of spacetime breaks down. With all such singularities removed from the Universe it thus can have no boundary and Stephen Hawking has speculated that "the boundary condition to the Universe may be that it has no boundary".
However the unproven nature of the relationship between actual physical time and imaginary time incorporated into such models has raised criticisms.
The equations of the quantum field can be obtained by taking the Fourier transform of the equations of statistical mechanics. Since the Fourier transform of a function typically shows up as its inverse, the point particles of statistical mechanics become, under a Fourier transform, the infinitely extended harmonic oscillators of quantum field theory. The Green's function of an inhomogeneous linear differential operator, defined on a domain with specified initial conditions or boundary conditions, is its impulse response, and mathematically we define the point particles of statistical mechanics as Dirac delta functions, which is to say impulses.  At finite temperature , the Green's functions are periodic in imaginary time with a period of . Therefore, their Fourier transforms contain only a discrete set of frequencies called Matsubara frequencies.
The connection between statistical mechanics and quantum field theory is also seen in the transition amplitude between an initial state I and a final state F, where H is the Hamiltonian of that system. If we compare this with the partition function we see that to get the partition function from the transition amplitudes we can replace , set F = I = n and sum over n. This way we don't have to do twice the work by evaluating both the statistical properties and the transition amplitudes.