Quantum similarity using superposition and the SWAP test, compare vectors or text with Qiskit simulation.
-
Updated
Sep 5, 2025 - Python
Quantum similarity using superposition and the SWAP test, compare vectors or text with Qiskit simulation.
Exponentially compress a classical string into a quantum fingerprint that enables equality testing.
Learning the quantum algorithm for state overlap
Measure |⟨ψ|φ⟩|² between two quantum states using a Fredkin (controlled-SWAP) gate.
Add a description, image, and links to the swap-test topic page so that developers can more easily learn about it.
To associate your repository with the swap-test topic, visit your repo's landing page and select "manage topics."