Skip to main content
โ† Back to ๐Ÿš€ Show & Tell
Admin QuantonicHQ
Admin QuantonicHQ
ยท in ๐Ÿš€ Show & Tell
PRESET SPOTLIGHT: SWAP DANCE ๐Ÿ•บ

Open the presets menu in the simulator and load "swapdance".

Watch what happens: the SWAP operation moves a qubit's entire state onto another wire. Prepare qubit 0 in a 1, swap, and suddenly qubit 1 is the one reading 1.

Under the hood a SWAP is just three CNOTs back-to-back โ€” try building it by hand and check that your version matches the preset's results.

Post your histogram if you try it โ€” especially if you find a way to break it.
๐Ÿค 0 ๐Ÿ’ฌ 0

๐Ÿ’ฌ Comments (0)

No comments yet โ€” be the first to reply.
๐Ÿ’ฌ Sign in to join the conversation.