mod02lec12 - Quantum Computing Concepts: Entanglement and Interference​ - Part 2

NPTEL-NOC IITM
30 Aug 202119:30

Summary

TLDRThis educational video script delves into the quantum mechanics principles of superposition, entanglement, and interference, crucial for quantum computing. It explains quantum teleportation, emphasizing its reliance on classical communication channels due to the no-cloning theorem. The script also touches on the no-cloning theorem, which prohibits the duplication of arbitrary qubits, and the potential of algorithms like Grover's, which utilizes quantum interference. The lecture aims to transition from theory to practical application, guiding viewers on creating quantum circuits and programming with Qiskit.

Takeaways

  • 🧬 **Quantum Teleportation Basics**: The script explains the concept of quantum teleportation, where a qubit's state is transferred from one location to another using entanglement and classical communication.
  • 🔄 **Transformations in Teleportation**: It details how Bob must apply bit flips and phase flips (using Pauli X and Z gates) to recover the original state based on Alice's measurements.
  • 🔗 **Entanglement Swapping**: The script introduces entanglement swapping, a process where entanglement is transferred between parties to create a new entangled pair.
  • 🚫 **No-Cloning Theorem**: It emphasizes the no-cloning theorem in quantum computing, which states that it's impossible to create an identical copy of an arbitrary unknown quantum state.
  • 🌐 **Quantum vs Classical Communication**: The script clarifies that while quantum teleportation is instantaneous at the quantum level, the classical communication of measurement results is limited by the speed of light.
  • 🌌 **Experimental Verification**: Quantum teleportation has been experimentally verified, with examples including teleportation from the ground to a satellite and between islands.
  • ⚛️ **Quantum Gates and Operations**: The script discusses how quantum gates like the Hadamard gate can create superpositions, and how these gates are used in combination to perform quantum computations.
  • 🌟 **Interference in Quantum Computing**: It explains how interference, a wave-like property, is used in quantum algorithms to amplify correct answers and diminish incorrect ones.
  • 🛠️ **Building Quantum Algorithms**: The process of constructing quantum algorithms involves determining state space, applying transformations, and using entanglement and interference to solve problems.
  • 📚 **Practical Application**: The script concludes by encouraging the application of theoretical knowledge to practical exercises and programming on real quantum computers using frameworks like Qiskit.

Q & A

  • What is the significance of the state 'phi' in quantum teleportation as described in the script?

    -In quantum teleportation, 'phi' represents the qubit state that Alice wants to transmit to Bob. Bob needs to perform certain transformations based on Alice's measurements to recreate the original state 'phi' on his end.

  • How does Bob recover the original qubit state sent by Alice if he receives the bit '01' from her?

    -If Bob receives '01' from Alice, he needs to perform a bit flip on his state to change it from 'alpha_1 + beta_0' to 'alpha_0 + beta_1', which corresponds to the desired state '5'.

  • What quantum gate is used to perform a phase flip in the context of quantum teleportation?

    -A phase flip in quantum teleportation is performed using the Pauli-Z gate, often denoted as Z gate.

  • What is entanglement swapping and how is it achieved?

    -Entanglement swapping is a process that allows two parties who do not share an entangled state to become entangled through a series of quantum operations involving previously shared entangled states. It is achieved by using the teleportation protocol.

  • What is the no-cloning theorem in quantum computing, and why is it important?

    -The no-cloning theorem states that it is impossible to create an identical copy of an arbitrary unknown quantum state. This is important because it ensures the security of quantum information and sets a fundamental difference between quantum and classical computing.

  • Why can't a CNOT gate be used to copy an arbitrary qubit?

    -A CNOT gate cannot be used to copy an arbitrary qubit because it would require the second qubit to be in the same state as the first, which contradicts the principle that the output of the XOR operation (CNOT) must equal the first qubit.

  • How does interference play a role in quantum computing?

    -Interference in quantum computing is used to amplify certain states and diminish others by applying suitable phase changes. This is crucial in algorithms like Grover's algorithm, where interference is used to increase the probability of the correct answer.

  • What is the purpose of the Hadamard gate in the context of quantum algorithms?

    -The Hadamard gate is used in quantum algorithms to create an equal superposition of states. By applying the Hadamard gate to each qubit, the system enters a state of superposition, which is a prerequisite for many quantum algorithms.

  • How does the measurement process in a quantum system relate to the superposition state?

    -In a quantum system, measurement collapses the superposition state to a definite state. To understand the superposition state, one must perform multiple measurements and analyze the probability distribution of the outcomes.

  • What is the role of the IBM Quantum Experience in learning quantum computing?

    -The IBM Quantum Experience provides a platform where users can create and run quantum circuits on real quantum computers. It is an essential tool for learning and experimenting with quantum computing algorithms.

Outlines

00:00

🔄 Quantum Teleportation Protocol

The paragraph discusses the quantum teleportation protocol, explaining how Bob can recover a qubit sent by Alice based on her measurements. It covers different scenarios where Alice sends different bit values (mn) and how Bob responds with transformations like bit flip (X gate) or phase flip (Z gate). The explanation includes the use of EPR pairs and how different states require different gate applications. The paragraph also touches on the possibility of using different initial states for the EPR pairs and the generalizability of the protocol.

05:00

🚀 Entanglement Swapping and Quantum Teleportation

This section delves into the concept of entanglement swapping, where Alice can help Bob and Carol share an entangled state even if they don't directly share one. It uses the teleportation protocol to achieve this by Alice communicating her part of an entangled state to Carol. The paragraph also addresses the misconception that quantum teleportation allows for faster-than-light communication, clarifying that classical communication channels still apply. Additionally, it introduces the no-cloning theorem, which states that it's impossible to create an identical copy of an arbitrary qubit, contrasting this with classical computing's ability to copy information freely.

10:00

🚫 The No-Cloning Theorem

The paragraph explores the no-cloning theorem in quantum computing, which prohibits the creation of identical copies of an arbitrary unknown quantum state. It explains why quantum circuits cannot clone qubits, even with operations like the CNOT gate. The explanation involves a thought experiment where a cloning circuit is assumed to exist, leading to a contradiction when considering the inner product of states. The conclusion is that such a circuit cannot copy non-orthogonal states, thus upholding the no-cloning theorem.

15:01

🌌 Quantum Interference and Algorithm Construction

This section introduces the concept of quantum interference, drawing parallels with classical wave interference. It explains how phase changes can be used in quantum circuits to amplify or diminish certain states, which is crucial for quantum algorithms. The paragraph outlines the process of constructing quantum algorithms, starting from determining the state space and inputs, applying transformations, and using entanglement and interference to bias towards correct answers. It mentions Grover's algorithm as an example where interference plays a significant role. The summary also covers the process of measuring quantum states and interpreting the results through probability distributions.

Mindmap

Keywords

💡Quantum Teleportation

Quantum teleportation is a process by which the state of a quantum system is transferred from one location to another, without physical travel of the system itself. In the video, this concept is central as it explains how Alice can transmit the state of a qubit to Bob using an entangled pair and classical communication. The script mentions a real-world application where a qubit was teleported from the ground to a satellite, showcasing the practicality of this quantum phenomenon.

💡Entanglement

Entanglement is a quantum phenomenon where pairs or groups of particles interact in such a way that the quantum state of each particle cannot be described independently of the others, even when the particles are separated by large distances. The script discusses entanglement as a prerequisite for quantum teleportation, where Alice and Bob share an entangled state, which is essential for the teleportation process to work.

💡Qubit

A qubit, short for quantum bit, is the basic unit of quantum information. Unlike a classical bit, which can be either 0 or 1, a qubit can be in a superposition of states, representing both 0 and 1 simultaneously. The video script uses qubits to illustrate quantum teleportation, explaining how Alice's measurement of her qubit collapses it to a certain state, which Bob can then recreate using his qubit and a series of quantum gates.

💡Superposition

Superposition is a fundamental principle of quantum mechanics where a quantum system can exist in multiple states simultaneously until it is measured. The script refers to superposition when discussing the initial state of qubits, which are often in a zero state before being transformed into a useful superposition state through quantum gates.

💡Quantum Gates

Quantum gates are the building blocks of quantum circuits, analogous to logic gates in classical computing. They perform operations on qubits and are used to manipulate their states. The script mentions specific quantum gates such as the Pauli-X (bit flip) and Pauli-Z (phase flip) gates, which are used in the teleportation process to correct the state of Bob's qubit.

💡No-Cloning Theorem

The no-cloning theorem states that it is impossible to create an identical copy of an arbitrary unknown quantum state. This theorem is highlighted in the script to emphasize the difference between quantum and classical computing, where information can be copied freely. The script explains this concept by discussing the impossibility of creating a quantum circuit that can copy any arbitrary qubit.

💡Phase Flip

A phase flip is a quantum operation that changes the phase of a qubit, flipping it from one phase to its opposite. In the context of the video, a phase flip is used to correct the state of Bob's qubit during the teleportation process, as explained when discussing the transformation required for the qubit states alpha 0 minus beta 1.

💡Bit Flip

A bit flip is a quantum operation that changes the state of a qubit from |0⟩ to |1⟩ or vice versa. The script describes how a bit flip is applied using a Pauli-X gate during the teleportation process, specifically when Bob needs to correct his qubit state to match Alice's original state.

💡Quantum Circuit

A quantum circuit is a theoretical model consisting of qubits and quantum gates that perform operations on these qubits. The script describes a quantum circuit used in teleportation, where a combination of gates is applied based on the measurement outcomes (m and n) to recover the original qubit state at the receiving end.

💡Interference

Interference is a quantum mechanical phenomenon where the superposition of quantum states can lead to constructive or destructive interference, affecting the probabilities of different outcomes. The script touches on interference as a property that can be harnessed in quantum algorithms, such as Grover's algorithm, to amplify correct answers or diminish incorrect ones.

Highlights

Explanation of quantum teleportation and how Bob can recover Alice's qubit state based on her measurements.

Description of no transformation needed when Alice measures '00' and Bob's state is already aligned with Alice's.

Process of bit flip and phase flip to align Bob's state with Alice's in different measurement scenarios.

Use of Pauli X and Z gates to perform bit and phase flips in quantum teleportation.

Circuit diagram explanation showing how Z and X gates are applied based on Alice's measurements.

Discussion on the flexibility of choosing different initial entangled states for quantum teleportation.

Entanglement swapping as a method to change the partners in an entangled state.

Limitation of quantum teleportation by classical communication speeds due to the need for Alice's measurement results.

Introduction to the no-cloning theorem and its implications for quantum computing.

Explanation of why quantum circuits cannot copy arbitrary qubits, contrasting with classical computing's ability to copy information.

Attempt to refute the no-cloning theorem using the CNOT gate and its failure.

Teleportation not being a counterexample to the no-cloning theorem due to the collapse of the original qubit post-measurement.

Proof of the no-cloning theorem using a thought experiment and inner product calculations.

Introduction to quantum interference and its role in quantum computing algorithms.

Explanation of how interference can amplify or diminish certain states in a quantum system.

Overview of constructing quantum algorithms using superposition, entanglement, and interference.

Discussion on the process of measuring quantum states and interpreting the results through probability distributions.

Summary of the key concepts covered, including qubits, quantum gates, and the properties of superposition, entanglement, and interference.

Introduction to practical applications of quantum computing algorithms on IBM quantum computers using Qiskit.

Transcripts

play00:01

[Music]

play00:16

so let's take the each case uh one by

play00:19

one let's say mn is zero zero okay

play00:22

in this case bob needs to do nothing

play00:25

because as you can see alpha he already

play00:26

has if alice measures zero zero

play00:29

bob state already must be alpha zero

play00:31

with beta one which is nothing but five

play00:34

so

play00:34

bob needs to do

play00:36

uh

play00:36

no transformation on phi dash to create

play00:39

five

play00:40

but if bob state is uh if bob receives

play00:44

the

play00:45

bit

play00:47

zero one from alice

play00:49

there is some change that needs to be

play00:51

done to bob state

play00:53

to change it to

play00:55

uh to file okay

play00:57

and what does that change

play00:58

it's a bit flip

play01:00

let's look at this particular term alpha

play01:02

one plus beta zero if you do a bit flip

play01:04

one changes to zero zero changes to one

play01:06

right

play01:07

so from alpha one plus beta zero we look

play01:09

at alpha zero plus beta one which is

play01:11

nothing but

play01:12

5

play01:13

which is what you want to get

play01:16

similarly if mn is 1 0

play01:19

then bob state alpha 0 minus beta 1 will

play01:22

need to go through

play01:23

a phase flip

play01:25

okay

play01:26

and

play01:27

again in uh

play01:28

as we saw in the previous these lectures

play01:31

our face flip can be performed by a poly

play01:33

z gate again just like a bit flip can be

play01:36

performed by a poly x gate

play01:38

and in this case if m

play01:40

and n are one and zero respectively then

play01:42

if bob applies

play01:44

a phase flip or a single z gate then

play01:46

he'll be able to recover five

play01:50

if uh alice sends mn as one and one

play01:53

respectively

play01:54

then bob is uh

play01:56

because bob stayed at that point is

play01:58

alpha one minus beta0 he'll need to

play02:00

apply both a

play02:02

bit flip and a phase flow which means

play02:03

he'll have to apply both an x gate and a

play02:06

z

play02:07

okay now let's look at this this circuit

play02:10

so this looks a bit complicated but it's

play02:12

actually very simple z to the power n

play02:14

simply means that we either apply a z

play02:16

gate or we do not apply a z because uh

play02:19

remember that m can only assume the

play02:20

value zero or one okay so z to the power

play02:23

zero is basically one it means there's

play02:25

no transformation similarly x to the

play02:27

power of n can means either an x gate is

play02:29

applied or not

play02:31

so when m is zero zero basically we are

play02:34

applying no gates so that to the power 0

play02:37

and x to the power 0 means there's no

play02:39

transformation

play02:40

with a bit flip

play02:42

there's no set gate and there's just one

play02:44

x gate

play02:45

with the face flip there's one set gate

play02:48

and no x k xk

play02:50

and a phase flip we need to apply both

play02:52

the z gate and the xk8 to bob's state

play02:56

so bob can recover

play02:58

uh

play02:59

the

play03:00

original qubit that alice poses which is

play03:03

okay

play03:05

so

play03:06

hope this uh was easy to understand uh

play03:09

now note that

play03:11

uh we took uh

play03:13

size zero zero as the best state that

play03:16

was shared between alice and bob our

play03:17

priority but we do not have to take that

play03:20

we can alice and bob can share any of

play03:22

the four ball states uh

play03:24

zero zero

play03:25

psi zero one psi one zero or five one

play03:27

one and uh

play03:30

she will be able to communicate

play03:32

her measurements and bob will be able to

play03:34

recover uh

play03:35

state 5 based on those measurements it's

play03:38

just that this particular table will

play03:39

look a little bit different which means

play03:43

you'll have to apply

play03:45

a different sequence of dead index gates

play03:48

or a different

play03:49

combination of zen index gates to

play03:50

recover the

play03:52

the qubit

play03:53

point

play03:54

so try this out as an exercise it should

play03:55

be fairly straightforward and you can

play03:57

the the math that you've been doing for

play03:59

the past few minutes will uh

play04:02

be identical to what you will need to uh

play04:05

[Music]

play04:06

to infer uh the same file

play04:09

regardless of what

play04:11

epr pair you have at the beginning

play04:13

teleportation is not this theory it's

play04:15

been experimentally verified

play04:17

in one experiment in china a qubit was

play04:21

uh

play04:22

teleported from the ground to a

play04:23

satellite 1400 kilometers above the

play04:25

earth uh based on a an epr pair being

play04:29

shared between the two endpoints a

play04:31

priori

play04:33

a phenomenon known as antagonist

play04:35

stopping was also demonstrated between

play04:36

two of the canary islands which are

play04:38

islands in the atlantic ocean

play04:40

and let's just look at what entanglement

play04:42

stopping is it's a slight variation on

play04:44

the teleportation protocol that

play04:46

we have witnessed

play04:48

let's say bob and alice already share

play04:51

a well state let's call this iig

play04:54

and let's say alice and carol share a uh

play04:57

different velocity uh let's call it phi

play05:00

kl okay

play05:02

what do you want to achieve here what we

play05:04

want is

play05:05

uh to allow

play05:07

bob and carols

play05:09

to possess an entangled state

play05:12

rather than bob and alice or alice and

play05:14

carol okay

play05:15

and we can achieve this through

play05:17

teleportation

play05:19

what can uh alice do because she knows

play05:22

her part of the entangled stage she says

play05:25

is bob

play05:26

she can communicate that state to carol

play05:29

using the teleportation protocol because

play05:31

alice and carol already shared an apr

play05:33

pair right

play05:36

and

play05:37

once she does that

play05:39

carol then gets to know

play05:41

the uh alice's part of bob's cupid of of

play05:46

uh uh bob's of the entangled stage she

play05:48

shares with bob

play05:50

okay

play05:51

so the final result that is achieved is

play05:53

bob and carol share the state psij which

play05:56

was originally shared between bob and

play05:58

alice so

play05:59

thereby we have

play06:01

swapped the

play06:03

epr pair

play06:05

between alice and carol

play06:08

so does this mean you can communicate

play06:09

information infinitely fast

play06:12

not quite

play06:13

uh well measurement results that is the

play06:16

m and n that you saw can only be

play06:18

communicated over uh classical

play06:20

communication channels okay through

play06:22

regular networking channels that uh

play06:24

we all use today to communicate uh any

play06:27

piece of information over long distances

play06:29

and

play06:30

uh classical communication channels just

play06:32

cannot exceed the speed of light which

play06:34

means that

play06:36

our teleportation protocol even using

play06:38

quantum entanglement is always going to

play06:40

be

play06:41

limited by the capacity of our classical

play06:43

publication let us look at another

play06:45

interesting property of quantum

play06:46

computing this is actually a limitation

play06:49

of quantum computing

play06:50

and it says that it's not possible to

play06:52

build a quantum circuit that can make a

play06:55

copy of

play06:56

any arbitrary qubit psi

play06:59

what does this mean it means that there

play07:01

is no unitary transformation that can

play07:04

take qubit sky

play07:06

which is not already known before and

play07:08

produce two copies of that

play07:11

this is a big difference from classical

play07:12

computing where copying an arbitrary bit

play07:15

or copy any piece of information from

play07:19

one record to another that be it

play07:21

memory or in secondary storage is one of

play07:24

the most basic operations you can do and

play07:26

classical computers can make arbitrary

play07:28

number of copies of any arbitrary

play07:30

information

play07:32

but it turns out quantum computing

play07:33

cannot actually do that

play07:35

uh what about the c naught that we saw

play07:37

uh

play07:38

can we refashion the c naught gate to

play07:40

make

play07:41

copies

play07:43

let us see

play07:45

if a c naught gate could copy a qubit

play07:47

let's say it were able to copy uh the

play07:49

qubit q1

play07:51

it

play07:52

what it implies is that

play07:54

both our first qubit and the second

play07:56

qubit must assume the value q1 which

play07:58

means our second qubit q2 dash which is

play08:01

the xor of q1 and q2 must be equal to q1

play08:04

but if we uh

play08:07

solve that equation that xor of q1 and

play08:09

q2 is equal to q1 it turns out that q1

play08:13

must be either 0 or 1 okay

play08:15

so

play08:16

we cannot actually copy an arbitrary

play08:17

qubit q1 which is not 0 or 1 which is

play08:21

any qubit alpha 0 plus beta 1

play08:24

using a c not k okay so let's think of

play08:27

other circuits that can do that

play08:30

uh

play08:31

did alice not just transfer teleport to

play08:33

qubit to bob

play08:35

could he not have used that circuit

play08:38

but what exactly did alice do

play08:40

she teleported a cupid to bob but

play08:42

because she measured her qubit phi

play08:46

that qubit collapsed to

play08:48

some state m

play08:50

and therefore she lost that result after

play08:51

measurement and finally it's only bob is

play08:54

left with five

play08:55

so this is not a copy this was a

play08:58

transfer of qubit five from alice to bob

play09:00

okay so

play09:02

the teleportation is not a counter

play09:04

argument to what we just

play09:06

saw

play09:08

so it turns out that the proof of this

play09:11

of what we call no cloning theorem that

play09:13

is

play09:14

the fact that an arbitrary qubit cannot

play09:17

be cloned using a quantum circuit

play09:20

it's actually quite simple so let's

play09:23

assume for uh

play09:25

safe argument that there exists such a

play09:27

circuit okay and

play09:29

this circuit is able to clone uh

play09:32

an arbitrary state psi

play09:36

let's assume that the gate or the

play09:38

transformation

play09:39

is represented by u so

play09:42

you applied to our

play09:44

qubits

play09:46

psi s

play09:48

will produce state size phi that is

play09:50

we get two copies of five

play09:53

now if such a circuit existed

play09:56

it should be able to uh make two copies

play09:59

of

play10:00

uh

play10:01

uh

play10:02

any possible sign right so let's assume

play10:05

some value

play10:06

and let's assume the circuit can make

play10:07

copy of that okay let's just take the

play10:10

first value which is represent the first

play10:11

value by psi so our circuit is able to

play10:14

produce a copy

play10:16

state size psi and

play10:19

similarly for any uh different phi given

play10:22

as input it can produce two copies of

play10:25

five okay

play10:28

now let's compute the inner products of

play10:31

both sides of these two equations okay

play10:34

what that means is

play10:35

we

play10:37

take the

play10:38

graph of this side and we take the brass

play10:40

this side and we apply it to

play10:43

these two as kept okay what is uh

play10:47

the synthesized two what is the bra it

play10:49

is a conjugate transpose right

play10:51

so u changes to u dagger

play10:54

uh

play10:55

get psi turns to brass i and get s turns

play10:59

to f okay note that s is a our constant

play11:03

of the circuit but we assume that there

play11:04

exists a circuit and there is some

play11:06

constant value that it will our circuit

play11:09

will always use to make copies of a

play11:11

different uh

play11:13

of the other qubit

play11:15

so

play11:16

here is the expression we get for the

play11:18

second term this remains as is

play11:21

and

play11:22

uh here for the right hand side

play11:26

the cat size changes to brass i

play11:28

and here they get five remains the same

play11:30

okay now if you actually do the inner

play11:33

product and this i will leave to you as

play11:35

an exercise

play11:37

you'll find

play11:38

that uh the left hand side just resolves

play11:42

to the bra

play11:44

psi applied to

play11:46

5 and on the right hand side you see

play11:48

that this just

play11:50

is

play11:51

the bra

play11:52

psi applied to phi

play11:54

and you take the square okay so we have

play11:56

a bracket here and you have bracket here

play11:58

and on the right hand side there's a

play12:01

is a square of that okay

play12:03

you can see u dagger and u you multiply

play12:06

them remember that

play12:08

their unitary matrices it becomes

play12:10

identity matrix okay and the rest of the

play12:12

math actually is also fairly easy uh

play12:14

let's try it out

play12:16

but looking at what we got here what do

play12:19

you see here this term this bracket

play12:22

psi applied to phi

play12:25

happens to be equal to its own square

play12:28

and what does that mean if x equal to x

play12:29

square

play12:30

what exactly uh

play12:33

what is x it simply means that x equal

play12:36

to either zero or 1 right

play12:38

one with either sign plus or minus

play12:41

and

play12:42

in

play12:44

the implication of that is that

play12:46

either psi is equal to 5

play12:48

or

play12:49

pi and phi are orthogonal okay

play12:52

so

play12:53

our circuit

play12:55

uh if it can produce a uh a copy of an

play12:58

input qubit it can only do so

play13:01

for

play13:02

two uh for inputs that for for two kinds

play13:05

of uh inputs which happen to be author

play13:08

okay the same one doesn't count because

play13:10

it just means that

play13:13

there is one particular qubit that it

play13:14

can make a copy of but

play13:16

our circuit then uh what we've shown

play13:18

from this is uh limited in this

play13:21

application it can only

play13:23

make copies of a pair of orthogonal

play13:25

vectors it cannot make a copy of any

play13:27

arbitrary

play13:29

site which

play13:31

can be represented using

play13:33

any pair of probability amplitudes

play13:36

so this proves the no cloning theorem

play13:38

and hope that this was intuitive to

play13:40

understand

play13:41

again try out this particular math as an

play13:44

exercise

play13:47

so now we move on from entanglement to

play13:49

the property of interference

play13:51

remember your

play13:53

high school physics now

play13:54

uh

play13:56

interference is a property that you

play13:58

probably learned there

play13:59

and we just come to how exactly that's

play14:02

applied here uh

play14:05

what we have in quantum mechanics are

play14:08

three main properties which also can be

play14:10

applied in quantum computing we have

play14:12

already seen superposition we have

play14:15

dealt with that in length in the first

play14:16

week and also to some extent in today's

play14:18

lecture

play14:19

uh we have seen the property of

play14:21

entanglement interference is a third

play14:23

such problem

play14:25

uh

play14:26

now any quantum mechanical unit exhibits

play14:28

wave particle duality that is it can

play14:30

behave either as a wave or as a particle

play14:34

and

play14:35

when it behaves as a wave it produces

play14:38

interference effects okay if you

play14:39

remember

play14:40

uh the young's double state experiment

play14:44

if you pass a wave through two different

play14:46

uh

play14:47

two through two slits that are close by

play14:50

you end up getting light and dark

play14:51

fringes or an interference pattern on a

play14:53

screen at the back

play14:55

and why does this happen it happens

play14:57

because

play14:58

uh

play14:59

the two waves that go through the two

play15:01

different slits

play15:02

uh

play15:03

whenever the phases get aligned

play15:05

they constructively interfere and the

play15:06

amplitude amplitudes add up so you get

play15:09

the light portion on screen

play15:11

and when they're out of phase

play15:13

uh their amplitudes cancel each other

play15:16

and that's destructive interference and

play15:17

you see the dark patches on the screen

play15:19

okay or the dark fringes

play15:21

now in quantum circuit it turns out we

play15:23

can apply suitable phase changes i

play15:26

remember one of the key

play15:28

components of any

play15:30

superposition qubit is its phase or its

play15:32

relative phase right so we can apply

play15:35

suitable phase changes to

play15:36

any quantum state through the judicious

play15:39

use of gates

play15:41

and

play15:42

what that can do is it can amplify

play15:44

certain states in our quantum space

play15:46

and diminish other states okay so any

play15:49

general quantum algorithm is all about

play15:51

trying to find out an answer to a

play15:53

problem

play15:55

by

play15:56

extracting out the

play15:58

states of the two to the power and state

play16:00

space

play16:01

that

play16:02

correspond to the right answer okay and

play16:04

you'll see a lot of examples of this

play16:05

this may sound a bit abstract to you but

play16:07

just keep in mind that the phenomenal

play16:09

interference can be

play16:11

very easily applied and there's one

play16:14

particular algorithm that you can keep

play16:16

in mind called grover's algorithm where

play16:18

the use of interference is

play16:20

quite star

play16:21

so finally let us see the intuition

play16:23

behind uh the construction of any

play16:26

arbitrary quantum algorithm to solve any

play16:28

arbitrary problem okay just like you

play16:29

would

play16:31

use an algorithm to solve the problem in

play16:33

classical computers

play16:35

so in

play16:36

uh

play16:37

in our in quantum computing

play16:39

first thing you have to do is to

play16:40

determine the state space and inputs

play16:42

okay in effect determine uh what uh what

play16:45

the size of the

play16:47

input state should be that is what n

play16:49

should be and what each of the input and

play16:51

values should be usually we begin with

play16:53

uh states

play16:55

in zero state so which we can

play16:57

then transform into something useful and

play17:00

as you already saw if we apply the

play17:01

hadamard transform simultaneously to all

play17:04

of the input states we end up getting an

play17:06

equal superposition of 2 to the power n

play17:08

states

play17:10

and now through some combination of

play17:11

gates

play17:13

we can perform various kinds of

play17:14

transformation of superposition states

play17:16

and use phenomenon of entanglement and

play17:18

interference to bias correct answers or

play17:22

to

play17:23

amplify the correct states and to

play17:25

diminish the incorrect ones

play17:26

and finally

play17:28

in our n-qubit system we can measure all

play17:30

of the n-qubits and thereby get a an

play17:32

n-bit state okay

play17:34

that's what we get here on the classical

play17:37

uh

play17:38

line you see here

play17:39

and

play17:41

what we will have to do is then measure

play17:43

our output using a large number of shots

play17:46

so

play17:47

remember that

play17:49

when you measure something it gives you

play17:51

a definite value either zero or one

play17:53

right

play17:55

so

play17:56

but the probability of getting a zero or

play17:58

one for each qubit happens to be

play18:00

definite and it is based on whatever

play18:02

calculation we do here so

play18:05

for our output to reflect

play18:08

what the probability

play18:10

what what the superposition state is at

play18:12

this point we need to run a large number

play18:15

of outputs and then

play18:17

do the probability distribution to

play18:18

figure out what

play18:20

this superposition state

play18:22

based on the set of measurements that we

play18:24

get okay

play18:26

you will see how this is done using real

play18:29

examples and in more detail in the next

play18:33

few weeks

play18:34

and

play18:35

some of the algorithms that you'll see

play18:36

are bhaja

play18:38

grovers and banshee mazirani and

play18:41

you'll see that they follow this pattern

play18:44

uh

play18:44

gently speaking and

play18:47

you'll see what kind of clever

play18:49

combination of gates we can use to

play18:52

do something useful much faster than we

play18:54

could on any classical computer using

play18:56

classical algorithm

play18:58

let's summarize what you've learned so

play18:59

far

play19:00

last week you learned all about qubits

play19:02

quantum gates and quantum circuits

play19:05

in this lesson you have learnt how the

play19:07

quantum mechanical properties of

play19:09

superposition entanglement and

play19:10

interference can together be harnessed

play19:12

to build quantum computing algorithms

play19:15

now we will move from theory to practice

play19:18

you will learn how to create real

play19:20

quantum circuits on real ibm quantum

play19:22

computers and you will learn how to

play19:24

write programs using the kiskit

play19:26

programming free books

Rate This

5.0 / 5 (0 votes)

相关标签
Quantum ComputingSuperpositionEntanglementQuantum TeleportationQuantum AlgorithmsQuantum GatesInterferenceQuantum CircuitsIBM QuantumKiskit Programming
您是否需要英文摘要?