SlideShare a Scribd company logo
1 of 30
Quantum
Gates
By: Iqra Naz
• Single Qubit Representation
• Quantum Logic Gates
• Gates Notation
• Gates Matrices
• Gate’s Bloch Sphere Representation
2Prepared By: Iqra Naz
3Prepared By: Iqra Naz
A quantum circuit is a computational routine
consisting of coherent quantum operations
on quantum data, such as qubits. It is an
ordered sequence of quantum gates,
measurements, and resets, which may be
conditioned on real-time classical
computation.
4Prepared By: Iqra Naz
• They are the building blocks of quantum
circuits.
• They are basic quantum circuits operating on
a small number of qubits.
• Quantum logic gates are reversible.
• Quantum logic gates are represented
by unitary matrices.
5Prepared By: Iqra Naz
6Prepared By: Iqra Naz
We can categorize Quantum Gates in to 2
categories:
• Single Qubit Quantum Gates
• Multiple Qubits Quantum Gates
7Prepared By: Iqra Naz
• Hadamard Gate
• Pauli Gates
• Phase Shifter (Rɸ) Gates
• I, S, T Gates
• General U Gates
8Prepared By: Iqra Naz
• The Hadamard gate is particularly important.
• It can be used to create a superposition of the
|0〉 and |1〉 states.
• It creates a rotation of around the x-axis by π
radians (180°) followed by a (clockwise)
rotation around the y-axis by π/2 radians (90°)
9Prepared By: Iqra Naz
10Prepared By: Iqra Naz
• The three most basic single-qubit gates
are:
• Pauli-X Gate
• Pauli-Y Gate
• Pauli-Z Gate
11Prepared By: Iqra Naz
• The X gate is directly analogous to the classical
NOT gate.
• It transforms |0〉 to |1〉 and |1〉 to |0〉.
• In terms of the Bloch Sphere, this is equivalent
to rotating around the x axis by π radians
(180°).
12Prepared By: Iqra Naz
• Similarly to Pauli-X gate, the Y gate represents
a rotation of around the y axis by π radians.
• It transforms |0〉 to i|1〉 and |1〉 to -i|0〉.
13Prepared By: Iqra Naz
• The Z gate is actually a special case of the
phase shift gate where 𝜙 = π = 180°.
• It represents a rotation of around the z axis
by π radians.
• It has no effect on |0〉 but transforms |1〉 to -
|1〉.
14Prepared By: Iqra Naz
• This is a family of single-qubit gates that leave the
basis state |0> unchanged and map |1> to
e^iɸ|1>.
• The probability of measuring a|0> or |1> is
unchanged after applying this gate, however it
modifies the phase of the quantum state.
• This is equivalent to tracing a horizontal circle (a
line of latitude) on the Bloch sphere by ɸ radians.
15Prepared By: Iqra Naz
• This is simply a gate that does nothing. Its matrix
is the identity matrix.
• circuit should have no effect on the qubit state.
• It is often used in calculations, for example:
proving the X-gate is its own inverse:
• It is considering real hardware to specify a ‘do-
nothing’ or ‘none’ operation.
16Prepared By: Iqra Naz
• The Phase gate ( S gate) is a single-qubit
operation.
• The S gate is also known as the phase gate or
the Z90 gate, because it represents a 90-
degree rotation around the z-axis.
• The conjugate transpose of S gate is S† gate.
17Prepared By: Iqra Naz
• The T-gate is a very commonly used gate, it is
an Rϕ-gate with ɸ = π/4.
• As with the S-gate, the T-gate is sometimes
also known as (Z)^(1/4) gate.
• The conjugate transpose of T gate is T† gate.
18Prepared By: Iqra Naz
• I, Z, S & T-gates were all special cases of the
more general Rϕ-gate.
• The U3-gate is the most general of all single-
qubit quantum gates.
• It is a parameterized gate of the form:
19
Prepared By: Iqra Naz
• Swap Gate
• Controlled Gates
• Toffoli (CCNOT) Gate
• Fredkin (CSWAP) gate
20Prepared By: Iqra Naz
• The swap gate swaps two qubits.
• With respect to the basis |00> |01>, |10>,
|11>.
• It is represented by the matrix:
21Prepared By: Iqra Naz
• Controlled gates require at least one control
and one target qubit the gate in question will
only operate on the target qubit if the control
qubit is in a specific state.
• These are:
• Cx Gate
• Cy Gate
• Cz Gate
22Prepared By: Iqra Naz
• Cx leaves the control qubit unchanged and
performs a Pauli-X gate on the target qubit
when the control qubit is in state |1⟩, leaves
the target qubit unchanged when the control
qubit is in state ∣0⟩.
23Prepared By: Iqra Naz
• The controlled or Cy gate is another well-used
two-qubit gate.
• Just as the CNOT applies an Y to its target
qubit whenever its control is in state |1⟩, the
controlled-Y applies a Y in the same case.
24Prepared By: Iqra Naz
• The controlled-Z or cz gate is another well-
used two-qubit gate.
• Just as the CNOT applies an X to its target
qubit whenever its control is in state |1⟩, the
controlled-Z applies a Z in the same case.
25Prepared By: Iqra Naz
• The Toffoli gate is a three qubit gate with two
controls and one target.
• It performs an X on the target only if both
controls are in the state |1⟩.
• The final state of the target is then equal to either
the AND or the NAND of the two controls,
depending on whether the initial state of the
target was |0⟩ or |1⟩.
• A Toffoli can also be thought of as a controlled-
controlled-NOT, and is also called the CCX gate.
26Prepared By: Iqra Naz
• It is controlled-SWAP gate.
• It only swaps the values of the second and
third bits only if the first bit is set to 1.
• It is also a reversible gate.
27Prepared By: Iqra Naz
28Prepared By: Iqra Naz
• (https://qiskit.org/textbook/ch-algorithms/defining-quantum-
circuits.html)
• Jun Zhang, Jiri Vala, Shankar Sastry, and K. Birgitta Whaley.
Optimal quantum circuit synthesis from controlled-unitary
gates.
• J. A. Jones, R. H. Hansen, and M. Mosca. Quantum logic gates
and nuclear magnetic resonance pulse sequences. Journal of
Magnetic Resonance
29Prepared By: Iqra Naz
30Prepared By: Iqra Naz

More Related Content

What's hot

Quantum Computing: The Why and How
Quantum Computing: The Why and HowQuantum Computing: The Why and How
Quantum Computing: The Why and Howinside-BigData.com
 
Quantum Computers_Superposition Interference Entanglement and Quantum Error C...
Quantum Computers_Superposition Interference Entanglement and Quantum Error C...Quantum Computers_Superposition Interference Entanglement and Quantum Error C...
Quantum Computers_Superposition Interference Entanglement and Quantum Error C...Professor Lili Saghafi
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm CaseyHaaland
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the pptMrinal Mondal
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computingt0pgun
 
Quantum computer
Quantum computerQuantum computer
Quantum computerNikhil Eg
 
Quantum Machine Learning for IBM AI
Quantum Machine Learning for IBM AIQuantum Machine Learning for IBM AI
Quantum Machine Learning for IBM AISasha Lazarevic
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum ComputingJonathan Tan
 
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...Professor Lili Saghafi
 
Quantum computing seminar
Quantum computing seminarQuantum computing seminar
Quantum computing seminarPankaj Kumar
 
Presentation quantum computers
Presentation quantum computersPresentation quantum computers
Presentation quantum computersAzeemAhmed55
 
Quantum superposition | Overview
Quantum superposition | OverviewQuantum superposition | Overview
Quantum superposition | OverviewEmanuel Di Nardo
 

What's hot (20)

Quantum computer
Quantum computerQuantum computer
Quantum computer
 
Quantum Computing: The Why and How
Quantum Computing: The Why and HowQuantum Computing: The Why and How
Quantum Computing: The Why and How
 
Quantum Computers_Superposition Interference Entanglement and Quantum Error C...
Quantum Computers_Superposition Interference Entanglement and Quantum Error C...Quantum Computers_Superposition Interference Entanglement and Quantum Error C...
Quantum Computers_Superposition Interference Entanglement and Quantum Error C...
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the ppt
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
slides chap2
slides chap2slides chap2
slides chap2
 
Introduction to Qiskit
Introduction to QiskitIntroduction to Qiskit
Introduction to Qiskit
 
Quantum computer
Quantum computerQuantum computer
Quantum computer
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Machine Learning for IBM AI
Quantum Machine Learning for IBM AIQuantum Machine Learning for IBM AI
Quantum Machine Learning for IBM AI
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum Computing
 
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computing seminar
Quantum computing seminarQuantum computing seminar
Quantum computing seminar
 
Presentation quantum computers
Presentation quantum computersPresentation quantum computers
Presentation quantum computers
 
Quantum superposition | Overview
Quantum superposition | OverviewQuantum superposition | Overview
Quantum superposition | Overview
 

Similar to Quantum gates

Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuitsSakshi Bhargava
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1Sarah Sue Calbio
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)Sairam Adithya
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Abhilash Nair
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuitBrenda Debra
 
SE ECS EC Module6 555 Timer.pdf
SE ECS EC Module6 555  Timer.pdfSE ECS EC Module6 555  Timer.pdf
SE ECS EC Module6 555 Timer.pdframkumar649780
 
UNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxUNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxGaganaP13
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxUtsavDas21
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SUBHA SHREE
 

Similar to Quantum gates (20)

Flip flop
Flip flopFlip flop
Flip flop
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
latchesflip-flop DLD
latchesflip-flop DLDlatchesflip-flop DLD
latchesflip-flop DLD
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuits
 
Nodal analysis
Nodal analysisNodal analysis
Nodal analysis
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1
 
3.pdf
3.pdf3.pdf
3.pdf
 
HVDC UNIT-II.pptx
HVDC UNIT-II.pptxHVDC UNIT-II.pptx
HVDC UNIT-II.pptx
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)
 
UNIT - 6.pdf
UNIT - 6.pdfUNIT - 6.pdf
UNIT - 6.pdf
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
latches
 latches latches
latches
 
SE ECS EC Module6 555 Timer.pdf
SE ECS EC Module6 555  Timer.pdfSE ECS EC Module6 555  Timer.pdf
SE ECS EC Module6 555 Timer.pdf
 
UNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxUNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptx
 
FF and Latches.ppt
FF and Latches.pptFF and Latches.ppt
FF and Latches.ppt
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

Quantum gates

  • 2. • Single Qubit Representation • Quantum Logic Gates • Gates Notation • Gates Matrices • Gate’s Bloch Sphere Representation 2Prepared By: Iqra Naz
  • 4. A quantum circuit is a computational routine consisting of coherent quantum operations on quantum data, such as qubits. It is an ordered sequence of quantum gates, measurements, and resets, which may be conditioned on real-time classical computation. 4Prepared By: Iqra Naz
  • 5. • They are the building blocks of quantum circuits. • They are basic quantum circuits operating on a small number of qubits. • Quantum logic gates are reversible. • Quantum logic gates are represented by unitary matrices. 5Prepared By: Iqra Naz
  • 7. We can categorize Quantum Gates in to 2 categories: • Single Qubit Quantum Gates • Multiple Qubits Quantum Gates 7Prepared By: Iqra Naz
  • 8. • Hadamard Gate • Pauli Gates • Phase Shifter (Rɸ) Gates • I, S, T Gates • General U Gates 8Prepared By: Iqra Naz
  • 9. • The Hadamard gate is particularly important. • It can be used to create a superposition of the |0〉 and |1〉 states. • It creates a rotation of around the x-axis by π radians (180°) followed by a (clockwise) rotation around the y-axis by π/2 radians (90°) 9Prepared By: Iqra Naz
  • 11. • The three most basic single-qubit gates are: • Pauli-X Gate • Pauli-Y Gate • Pauli-Z Gate 11Prepared By: Iqra Naz
  • 12. • The X gate is directly analogous to the classical NOT gate. • It transforms |0〉 to |1〉 and |1〉 to |0〉. • In terms of the Bloch Sphere, this is equivalent to rotating around the x axis by π radians (180°). 12Prepared By: Iqra Naz
  • 13. • Similarly to Pauli-X gate, the Y gate represents a rotation of around the y axis by π radians. • It transforms |0〉 to i|1〉 and |1〉 to -i|0〉. 13Prepared By: Iqra Naz
  • 14. • The Z gate is actually a special case of the phase shift gate where 𝜙 = π = 180°. • It represents a rotation of around the z axis by π radians. • It has no effect on |0〉 but transforms |1〉 to - |1〉. 14Prepared By: Iqra Naz
  • 15. • This is a family of single-qubit gates that leave the basis state |0> unchanged and map |1> to e^iɸ|1>. • The probability of measuring a|0> or |1> is unchanged after applying this gate, however it modifies the phase of the quantum state. • This is equivalent to tracing a horizontal circle (a line of latitude) on the Bloch sphere by ɸ radians. 15Prepared By: Iqra Naz
  • 16. • This is simply a gate that does nothing. Its matrix is the identity matrix. • circuit should have no effect on the qubit state. • It is often used in calculations, for example: proving the X-gate is its own inverse: • It is considering real hardware to specify a ‘do- nothing’ or ‘none’ operation. 16Prepared By: Iqra Naz
  • 17. • The Phase gate ( S gate) is a single-qubit operation. • The S gate is also known as the phase gate or the Z90 gate, because it represents a 90- degree rotation around the z-axis. • The conjugate transpose of S gate is S† gate. 17Prepared By: Iqra Naz
  • 18. • The T-gate is a very commonly used gate, it is an Rϕ-gate with ɸ = π/4. • As with the S-gate, the T-gate is sometimes also known as (Z)^(1/4) gate. • The conjugate transpose of T gate is T† gate. 18Prepared By: Iqra Naz
  • 19. • I, Z, S & T-gates were all special cases of the more general Rϕ-gate. • The U3-gate is the most general of all single- qubit quantum gates. • It is a parameterized gate of the form: 19 Prepared By: Iqra Naz
  • 20. • Swap Gate • Controlled Gates • Toffoli (CCNOT) Gate • Fredkin (CSWAP) gate 20Prepared By: Iqra Naz
  • 21. • The swap gate swaps two qubits. • With respect to the basis |00> |01>, |10>, |11>. • It is represented by the matrix: 21Prepared By: Iqra Naz
  • 22. • Controlled gates require at least one control and one target qubit the gate in question will only operate on the target qubit if the control qubit is in a specific state. • These are: • Cx Gate • Cy Gate • Cz Gate 22Prepared By: Iqra Naz
  • 23. • Cx leaves the control qubit unchanged and performs a Pauli-X gate on the target qubit when the control qubit is in state |1⟩, leaves the target qubit unchanged when the control qubit is in state ∣0⟩. 23Prepared By: Iqra Naz
  • 24. • The controlled or Cy gate is another well-used two-qubit gate. • Just as the CNOT applies an Y to its target qubit whenever its control is in state |1⟩, the controlled-Y applies a Y in the same case. 24Prepared By: Iqra Naz
  • 25. • The controlled-Z or cz gate is another well- used two-qubit gate. • Just as the CNOT applies an X to its target qubit whenever its control is in state |1⟩, the controlled-Z applies a Z in the same case. 25Prepared By: Iqra Naz
  • 26. • The Toffoli gate is a three qubit gate with two controls and one target. • It performs an X on the target only if both controls are in the state |1⟩. • The final state of the target is then equal to either the AND or the NAND of the two controls, depending on whether the initial state of the target was |0⟩ or |1⟩. • A Toffoli can also be thought of as a controlled- controlled-NOT, and is also called the CCX gate. 26Prepared By: Iqra Naz
  • 27. • It is controlled-SWAP gate. • It only swaps the values of the second and third bits only if the first bit is set to 1. • It is also a reversible gate. 27Prepared By: Iqra Naz
  • 29. • (https://qiskit.org/textbook/ch-algorithms/defining-quantum- circuits.html) • Jun Zhang, Jiri Vala, Shankar Sastry, and K. Birgitta Whaley. Optimal quantum circuit synthesis from controlled-unitary gates. • J. A. Jones, R. H. Hansen, and M. Mosca. Quantum logic gates and nuclear magnetic resonance pulse sequences. Journal of Magnetic Resonance 29Prepared By: Iqra Naz