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.
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)