What does swap test mean?
Definitions for swap test
swap test
This dictionary definitions page includes all the possible meanings, example usage and translations of the word swap test.
Did you actually mean sub-test or speed skate?
Wikipedia
Swap test
The Swap test is a procedure in quantum computation that is used to check how much two quantum states differ.Consider two states: | ϕ ⟩ {\displaystyle |\phi \rangle } and | ψ ⟩ {\displaystyle |\psi \rangle } . The state of the system at the beginning of the protocol is | 0 , ϕ , ψ ⟩ {\displaystyle |0,\phi ,\psi \rangle } . After the Hadamard gate, the state of the system is 1 2 ( | 0 , ϕ , ψ ⟩ + | 1 , ϕ , ψ ⟩ ) {\displaystyle {\frac {1}{\sqrt {2}}}(|0,\phi ,\psi \rangle +|1,\phi ,\psi \rangle )} . The controlled SWAP gate transforms the state into 1 2 ( | 0 , ϕ , ψ ⟩ + | 1 , ψ , ϕ ⟩ ) {\displaystyle {\frac {1}{\sqrt {2}}}(|0,\phi ,\psi \rangle +|1,\psi ,\phi \rangle )} . The second Hadamard gate results in 1 2 ( | 0 , ϕ , ψ ⟩ + | 1 , ϕ , ψ ⟩ + | 0 , ψ , ϕ ⟩ − | 1 , ψ , ϕ ⟩ ) = 1 2 | 0 ⟩ ( | ϕ , ψ ⟩ + | ψ , ϕ ⟩ ) + 1 2 | 1 ⟩ ( | ϕ , ψ ⟩ − | ψ , ϕ ⟩ ) {\displaystyle {\frac {1}{2}}(|0,\phi ,\psi \rangle +|1,\phi ,\psi \rangle +|0,\psi ,\phi \rangle -|1,\psi ,\phi \rangle )={\frac {1}{2}}|0\rangle (|\phi ,\psi \rangle +|\psi ,\phi \rangle )+{\frac {1}{2}}|1\rangle (|\phi ,\psi \rangle -|\psi ,\phi \rangle )} The Measurement gate on the first qubit ensures that it's 0 with a probability of P ( First qubit = 0 ) = 1 2 ( ⟨ ϕ | ⟨ ψ | + ⟨ ψ | ⟨ ϕ | ) 1 2 ( | ϕ ⟩ | ψ ⟩ + | ψ ⟩ | ϕ ⟩ ) = 1 2 + 1 2 | ⟨ ψ | ϕ ⟩ | 2 {\displaystyle P({\text{First qubit}}=0)={\frac {1}{2}}{\Big (}\langle \phi |\langle \psi |+\langle \psi |\langle \phi |{\Big )}{\frac {1}{2}}{\Big (}|\phi \rangle |\psi \rangle +|\psi \rangle |\phi \rangle {\Big )}={\frac {1}{2}}+{\frac {1}{2}}{|\langle \psi |\phi \rangle |}^{2}} when measured. If ψ {\displaystyle \psi } and ϕ {\displaystyle \phi } are orthogonal ( | ⟨ ψ | ϕ ⟩ | 2 = 0 ) {\displaystyle ({|\langle \psi |\phi \rangle |}^{2}=0)} , then the probability that 0 is measured is 1 2 {\displaystyle {\frac {1}{2}}} . If the states are equal ( | ⟨ ψ | ϕ ⟩ | 2 = 1 ) {\displaystyle ({|\langle \psi |\phi \rangle |}^{2}=1)} , then the probability that 0 is measured is 1.
Numerology
Chaldean Numerology
The numerical value of swap test in Chaldean Numerology is: 7
Pythagorean Numerology
The numerical value of swap test in Pythagorean Numerology is: 6
References
Translation
Find a translation for the swap test definition in other languages:
Select another language:
- - Select -
- 简体中文 (Chinese - Simplified)
- 繁體中文 (Chinese - Traditional)
- Español (Spanish)
- Esperanto (Esperanto)
- 日本語 (Japanese)
- Português (Portuguese)
- Deutsch (German)
- العربية (Arabic)
- Français (French)
- Русский (Russian)
- ಕನ್ನಡ (Kannada)
- 한국어 (Korean)
- עברית (Hebrew)
- Gaeilge (Irish)
- Українська (Ukrainian)
- اردو (Urdu)
- Magyar (Hungarian)
- मानक हिन्दी (Hindi)
- Indonesia (Indonesian)
- Italiano (Italian)
- தமிழ் (Tamil)
- Türkçe (Turkish)
- తెలుగు (Telugu)
- ภาษาไทย (Thai)
- Tiếng Việt (Vietnamese)
- Čeština (Czech)
- Polski (Polish)
- Bahasa Indonesia (Indonesian)
- Românește (Romanian)
- Nederlands (Dutch)
- Ελληνικά (Greek)
- Latinum (Latin)
- Svenska (Swedish)
- Dansk (Danish)
- Suomi (Finnish)
- فارسی (Persian)
- ייִדיש (Yiddish)
- հայերեն (Armenian)
- Norsk (Norwegian)
- English (English)
Word of the Day
Would you like us to send you a FREE new word definition delivered to your inbox daily?
Citation
Use the citation below to add this definition to your bibliography:
Style:MLAChicagoAPA
"swap test." Definitions.net. STANDS4 LLC, 2024. Web. 24 Apr. 2024. <https://www.definitions.net/definition/swap+test>.
Discuss these swap test definitions with the community:
Report Comment
We're doing our best to make sure our content is useful, accurate and safe.
If by any chance you spot an inappropriate comment while navigating through our website please use this form to let us know, and we'll take care of it shortly.
Attachment
You need to be logged in to favorite.
Log In