Day 29 Quantum Protocols and Quantum Algorithms

Understanding Quantum Teleportation
1.Creates an entangled pair of qubits(one to Bob and one to Alice)
-> Entangled qubits could be written in Dirac Notation
2.Alice applies CNOT gate to q1(controlled by |ψ⟩ the qubit she is trying to send Bob)
3.Alice applies Hadamard gate to |ψ⟩
-> (H⊗I⊗I)(CNOT⊗I)(|q⟩⊗|ψ⟩)
4.Alice measures both q1 and |ψ⟩
5.Alice stores result in two classical bits then sends to Bob
6.Bob applies the following gates depending on the state of classical bits:
00 -> Do nothing
01 -> Apply X gate
10 -> Apply Z gate
11 -> Apply ZX gate

Difference between Superdense Coding and Quantum Teleportation
Quantum teleportation

  • Destroys the quantum state of a qubit in one location
  • Recreates it on a qubit at a distant location(shared entanglement)
    Superdense coding
  • Send two classical bits to another party using single qubit

Deutsch-Jozsa Algorithm

  • Constant function returns all 0's or all 1's
  • Balanced function returns 0's for exactly half and 1's for the other half

Bernstein-Vazirani Algorithm

  • extension of Deutsch-Josza algorithm

Quantum Fourier Transform(QFT)

  • Quantum implementation of discrete Fourier transform over amplitudes of wavefunction
  • QFT|State in Computational Basis⟩ -> |State in Fourier Basis⟩

<<:  【Day 29】超级好用的侧边栏固定效果 - Sticky Sidebar

>>:  Day31 -- Whack A Mole

Day9 跟着官方文件学习Laravel-登入验证

第九天罗,今天我们要做登入验证,首先我们要先想想,登入要做什麽判断。 打帐号密码,按下登入 确认帐号...

Day 29 通信

任务之间是可以相互通信的,通信的方式,有时是以信号、资料为中心的方式通信,或者结合信号与资料的作为通...

【JavaScript】if 的简洁写法| 三元运算子

判断的条件?符合条件执行冒号前:不符合条件执行冒号後 看 w3c setInterval() 的范例...

绘制 Skybox

大家好,我是西瓜,你现在看到的是 2021 iThome 铁人赛『如何在网页中绘制 3D 场景?从 ...

Day36 ( 游戏设计 ) 钓鱼游戏

钓鱼游戏 教学原文参考:钓鱼游戏 这篇文章会介绍,如何在 Scratch 3 里使用多个角色、函式、...