Skip to main content

12.8b QFT labs

Source: Lab ideas from Computational Physics (Landau, Páez, Bordeianu), §12.8. Pure Python. Continues 12.8.

Explorer​

Formula refresh​

Warm up: pick the matching equation among lookalikes (same walk as the theory lesson).

Activity: Imaginary part

Z4=e−iπ/2=−iZ_4=e^{-i\pi/2}=-i. Print real and imag parts space-separated with 10 decimals.

No input.

Write-ups​

0/2 solved
12.8b.W1

Using “hadamard”, “phase”, and “swap”, explain:

Which gate types appear in the two-qubit QFT₄ circuit (besides wires)?

Minimum 3 words. Your answer must include: “hadamard”, “phase”, “swap”.

0 words/ 3 min

Meet the writing requirements, then you can open the model answer.

Next: 12.9 Grover search.