Did you know Cards Games

Swap test

Swap test: technique for comparing quantum states. No. 1,342,341 of 4,515,532 cards by fame.

Swap test: quick facts

Description
Technique for comparing quantum states
Rarity in the game
Rare card
In its topic
No. 7,362 of 9,102 “Computer science” cards
Wikidata
Q85804432
Wikipedia page views
about 620 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Picture illustrating “Swap test”
Photo: Vtomole, CC BY-SA 4.0 (Wikimedia Commons)

Swap test: summary

The swap test is a procedure in quantum computation that is used to check how much two quantum states differ, appearing first in the work of Barenco et al. and later rediscovered by Harry Buhrman, Richard Cleve, John Watrous, and Ronald de Wolf. It appears commonly in quantum machine learning, and is a circuit used for proofs-of-concept in implementations of quantum computers.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

The best-known of the 9,102 “Computer science” cards

This card's topics

“Swap test” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.