In [1]:

```
import proveit
# Prepare this notebook for defining the theorems of a theory:
%theorems_notebook # Keep this at the top following 'import proveit'.
from proveit import j, k, l, n
from proveit.linear_algebra import MatrixMult, Unitary
from proveit.logic import Equals, Forall, InSet
from proveit.numbers import zero, one, two, e, i, pi
from proveit.numbers import Exp, frac, Interval, Mult, Neg, sqrt, subtract
from proveit.numbers import NaturalPos
from proveit.physics.quantum import NumKet, NumBra, Qmult
from proveit.physics.quantum.QFT import FourierTransform, InverseFourierTransform
```

In [2]:

```
%begin theorems
```

In [3]:

```
invFT_is_unitary = Forall(
n,
InSet(InverseFourierTransform(n), Unitary(Exp(two, n))),
domain=NaturalPos)
```

In [4]:

```
FT_on_matrix_elem = Forall(
n,
Forall((j, k),
Equals(Qmult(NumBra(k, n),
FourierTransform(n),
NumKet(j, n)),
Qmult(frac(one, Exp(two, frac(n, two))),
Exp(e, frac(Mult(two, pi, i, j, k),
Exp(two, n))))),
domain=Interval(zero, subtract(Exp(two, n), one))),
domain=NaturalPos)
```

In [5]:

```
invFT_on_matrix_elem = Forall(
n,
Forall((k, l),
Equals(Qmult(NumBra(l, n),
InverseFourierTransform(n),
NumKet(k, n)),
Mult(frac(one, Exp(two, frac(n, two))),
Exp(e, frac(Neg(Mult(two, pi, i, k, l)),
Exp(two, n))))),
domain=Interval(zero, subtract(Exp(two, n), one))),
domain=NaturalPos)
```

In [6]:

```
%end theorems
```

These web pages were generated on 2023-08-23 by Prove-It Beta Version 0.3, licensed under the GNU Public License by Sandia Corporation.

Presented proofs are not absolutely guaranteed. For assurance, it is important to check the structure of the statement being proven, independently verify the derivation steps, track dependencies, and ensure that employed axioms are valid and properly structured. Inconsistencies may exist, unknowingly, in this system.

This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, under the Quantum Computing Application Teams program. Sandia National Labs is managed and operated by National Technology and Engineering Solutions of Sandia, LLC, a subsidiary of Honeywell International, Inc., for the U.S. Dept. of Energy's NNSA under contract DE-NA0003525. The views expressed above do not necessarily represent the views of the DOE or the U.S. Government.

Please send questions/comments to: wwitzel@sandia.gov.