
Discover how quantum computing differs from classical models through qubits in superposition and entanglement, and gate-based programming beyond von Neumann architecture.
Explore photon polarization as a property of light and its quantum behavior. See how polarized photons resemble quantum bits, exhibiting superposition and entanglement.
Explore how photon polarization encodes qubits, using vertical and horizontal polarization and polarizing filters to illustrate 0 and 1 states and probabilistic transmission at angles.
Observe how a calcite crystal splits incoming photons into two streams: one aligned with the crystal and one anti-aligned at 90 degrees. Contrast this with polarizing filters, where only the aligned path emerges, and when input is neither aligned nor anti-aligned, exit paths follow probabilistic rules with probabilities between 0 and 1.
Explore how loss of information arises in quantum measurements by demonstrating the angle of polarization using a polarizing filter and a calcite crystal, showing aligned versus anti-aligned paths.
Explore how a single photon passing through calcite loses information about its prior polarization, transforming a real-number state into a single bit and complicating polarization inference.
Explore how measuring photon polarization yields only binary results—aligned or anti-aligned—and disturbs the state, reducing information to 1 bit and making the original polarization angle unknowable.
Demonstrate boolean algebra with A and B using and, or, and not. Clarify the evaluation order of not before and before or, and show step-by-step simplification of expressions.
Map boolean true to 1 and on; map false to 0 and off. Use gates to produce on or off outputs, including and, or, not operations.
Demonstrate the two-input and gate with inputs A and B, whose output is on only when both inputs are on, and show its connection to the next or gate.
See how the or gate outputs on when inputs are on, and off when inputs are off, with an and-gate feeding one input and C the other.
Explore how multi-input gates are built from 2-input gates to form complex circuits, using examples of 3-input and gates and 3-input or gates that produce a final output.
Show how an and gate can be built from or and not gates, verify with a truth table, and use boolean algebra to conclude identical truth tables mean identical functions.
Explore the nand gate as a universal gate, deriving and implementing and, or, and not gates from nand through truth tables.
Explore how the nand gate operates, its truth table, and how nand alone can implement not, and, or gates as a universal gate.
Explore the exclusive-or gate, its xor truth table and circuit symbol, and why in quantum architectures we apply b onto a atomically, sacrificing a's original data.
Demonstrate element-wise XOR of bit sequences, showing how each corresponding pair yields an output bit according to the XOR truth table, with step-by-step examples.
Quantum physics enables cryptography with completely secure messages, as quantum protocols resist known attacks while RSA can be broken by quantum computers, securing messages sent over insecure channels against eavesdropping.
Explore xor-based cryptography: convert messages to bits, use a shared secret bit sequence for sender and receiver, and apply xor to encrypt and transmit the message.
Encrypt and decrypt with a shared secret, a bit sequence known to the sender and the receiver. XORing the message with this secret, then XORing again, restores the original message.
Apply a bitwise xor of a random bit sequence with a message. Use a new random sequence for each encryption to avoid reusing the shared secret.
Explore the complete single-use shared secret protocol for encryption, where sender and receiver share a secret book of random bits and xor messages to achieve unbreakable quantum encryption.
Learn how probability theory models uncertain future events using likelihoods and probability distributions. See how quantum physics relies on probabilistic outcomes and data-driven estimates to predict often unpredictable results.
Explore predicting the likelihood of boolean statements with P(...) notation, and learn the probability of a boolean function being true or false, including and/or combinations.
Mutually exclusive events occur when one outcome rules out the others, and a complete set ensures exactly one true event with probabilities summing to one, as in quantum states.
Identify independent events as unrelated outcomes whose occurrences do not influence each other; two dice throws and two coin tosses are classic examples.
Learn to express the probability of a boolean expression in terms of the probabilities of individual events, using both boolean algebra and the algebra of probabilities.
Explore mutually exclusive events and the rule that A implies not B and B implies not A, so P(A and B) equals zero.
Explore independent events and how A and B do not influence one another. Calculate P(A and B) = P(A) × P(B); with P(A)=0.3 and P(B)=0.4, P(A and B)=0.12.
Explore mutually exclusive events and apply the addition rule to calculate P(A or B). Show that a complete set of mutually exclusive events sums to 1.
Apply the rule P(A or B)=P(A)+P(B)-P(A and B) for any relation between A and B, including mutual exclusivity and independence, and see how P(A and B) shapes P(A or B).
Explore an example of independent events by calculating P(A or B) using P(A) = 0.2 and P(B) = 0.3, showing P(A or B) = 0.44.
Compute P(A) from P(A and B) and P(A and not B) using boolean algebra and the algebra of probabilities for composite events, illustrated by Alice's red and blue car example.
Analyze two-bit systems and relate 00, 01, 10, 11 to single-bit probabilities, showing P(first bit = 1) = P(11) + P(10) and P(second bit = 1) = P(01) + P(11).
Explore probability with a Venn diagram by identifying A, B, and their union P(A or B) as the red region.
Explore translating probability expressions into diagram areas with Venn diagrams, compute P(A AND B), and relate AND, OR, NOT to intersection, union, and complement.
Explore conditional probability by analyzing events A and B and computing P(A and B)/P(A), illustrated with a rectangle diagram and scaling.
Explore how statistics analyzes probabilities of boolean and real-valued random functions, from true or false events to weather variables like maximum temperature and wind speed.
Explore random variables as uncertain outcomes mapped to numbers, using dice and coin tosses. Analyze aggregate behavior and compute the average value, revealing a zero mean over many trials.
Examine loaded dice and their unfair probabilities, calculate the mean by multiplying each value by its probability, and compare to a fair dice to identify loading.
Define a random variable for an unfair coin with -1 for tails and +1 for heads, using p(-1)=0.48 and p(+1)=0.52 to compute the mean as 0.04, implying potential unfairness.
Show how the mean alone fails to capture a random variable's behavior by comparing coin and die mappings, highlighting spread and magnitude of outcomes.
Explore standard deviation as a measure of how far a random variable deviates from its mean. A fair dice example illustrates variance and how it becomes standard deviation.
Explore standard deviation through examples with fair and unfair coins and a loaded die, computing mean, variance, and standard deviation for different random variables.
Explore how combining random variables forms a new variable and how its mean equals the sum of individual means, illustrated by coin toss and dice examples.
Examine correlation by analyzing independent, dependent, and mutually exclusive events, showing when P(A and B) equals or differs from P(A) times P(B) and related outcomes.
Explore how the product of two related random variables signals correlation, from constant outcomes to independence, and use the mean of XY to test correlation.
Explore complex numbers, the imaginary unit that acts as intermediate values to simplify quantum state transformations through linear operations, making math easier than using real numbers.
Define i as the square root of -1 and show that any fractional power can be written as a + bi, with a and b real, i.e., complex numbers.
Learn to subtract complex numbers by removing parentheses and grouping real and imaginary parts, and compute results like 2+i, 7-10i, and 9-i.
Multiply a real number by a complex number and apply scalar multiplication to a+bi as ka + kbi, with i treated like an unknown and examples like 3(2+3i) and (-4)(2-3i).
Show how to divide a complex number by a real number using examples such as (4+6i)/2 = 2+3i and (7+2i)/-3 = -7/3 - (2/3)i.
Learn to multiply complex numbers by treating i as an unknown, use i^2 = -1, and express results in standard form a + bi, as shown with (3+4i)(5+6i) = -9+38i.
Multiply complex numbers using standard algebra rules, treating i as an unknown and replacing i squared with -1. Identify the real and imaginary parts in examples like (-7+2i)(3-4i) and (6-2i)(-9+4i).
Master complex conjugates by flipping the sign of the imaginary part, turning a+bi into a-bi. Use this simple operation to divide complex numbers and see its role in quantum physics.
Master the squared magnitude of complex numbers using conjugates, where (a+bi)(a−bi)=a^2+b^2. See how the imaginary parts cancel and compute magnitudes for 2+3i and 7−6i.
Learn to divide complex numbers by multiplying numerator and denominator by the complex conjugate, turning the denominator into a real number (its squared magnitude), then simplify the complex numerator.
Practice solving complex division problems using the complex conjugate method, yielding real denominators and simplified results like -11/85 - (58/85)i and -2 + 5i.
Use polar form to find roots of complex numbers and compute the square root of i as 1/root(2) + i/root(2) via Euler's formula.
Represent complex numbers as points on 2d coordinate plane, with real part x and imaginary part y, and convert between a+bi and polar form r e^(i theta) (r = sqrt(a^2+b^2)).
Explore linear algebra and matrix operations as essential tools for quantum systems, using real and complex numbers in matrices to perform addition, subtraction, and multiplication.
Understand matrices as tables of numbers and learn that a matrix’s dimension is the number of rows by columns. Remember: rows first, followed by columns, written as rows by columns.
Learn to add matrices by ensuring same dimensions, add corresponding elements, and work through real and complex number examples in 2x2 matrices.
Explore matrix subtraction by performing per-element operations on equal-sized matrices, illustrated with a 2x2 example and verifications, including subtraction with complex numbers.
Learn how to multiply matrices by scalars, applying real or complex numbers to every element. See 2x2 examples with scalars such as 2 and -4, including complex scalars.
Learn how to multiply matrices by taking rows from the first matrix and columns from the second, apply the row-by-column rule, and see how matrix multiplication models quantum state transformations.
Work through a complex numbers example to compute a matrix element as the product of a yellow row and orange column, yielding 9+i, 16+2i, 14, and 10.
Work through a sequence of multiplication problems in quantum computing, pausing between each exercise to solve and verify the results.
Follow an animation to multiply a 3 by 3 matrix by another 3 by 3 matrix, and pause the video to compute each element yourself.
Pause the video to work through exercises and verify your computation against the provided answers, with another exercise to practice in quantum computing and quantum machine learning.
Explore multiplying non-square matrices, such as a 3 by 2 example, and follow along with the animation to see how the matrix product is computed.
Determine matrix multiplication feasibility by comparing row and column lengths; with a 2x2 matrix and a 3x2 matrix, the dimensions do not align, so multiplication is not possible.
Learn that matrix multiplication is not commutative: the order matters, as AB is possible while BA is not, and even when both exist, AB and BA may differ.
Explore the associative and distributive properties of matrix multiplication, showing that A(B+C)=AB+AC and (A+B)(C+D)=AC+AD+BC+BD, while AB ≠ BA.
Follow along an animated demonstration of odd shaped multiplications, then pause to verify you can perform the multiplications on your own.
Explore the outer product by multiplying a column matrix with a row matrix to form a table of all possible products, illustrated with an animation.
Practice matrix multiplication by multiplying a square matrix with a column matrix, a common operation in quantum computing. Verify your results as you work through the exercises.
Explore the concept of inverses in real numbers and matrices, including the notation x^-1 and A^-1, and how A times A^-1 equals the identity matrix.
Learn how the transpose transforms a matrix by interchanging rows and columns, represented by T, and visualized as mirroring about the diagonal.
Explore the transpose operation through additional examples in quantum physics, and practice by mirroring and interchanging rows and columns.
Learn how to compute the complex conjugate of matrices by taking the conjugate of each element, reversing the sign of imaginary parts while real numbers remain unchanged.
Explore the adjoint as the transpose of the complex conjugate, denoted by dagger, and its role in quantum physics, with guided practice through examples.
Explore how unitary matrices model reversible and irreversible quantum state transformations, and why the adjoint equals the inverse, since their product yields the identity.
Explore Hermitian matrices, the self-adjoint operators for irreversible quantum state transformations, compare them with unitary matrices, and verify the adjoint equals itself (A† = A).
Discover how a matrix can be both hermitian and unitary by confirming it equals its inverse and its adjoint, and that A squared equals the identity.
Explain why hermitian and unitary matrices matter in quantum computing, highlighting initialization as an irreversible hermitian process, a reversible unitary core, and measurement as an irreversible hermitian final step.
Explore vectors as column matrices and learn how linear transformations map coordinates using a square matrix with coefficients A, B, C, D, and introduce eigenvectors.
Explore how matrix transformations rotate points in 2d, using anti-clockwise rotations of (1,0) by 30 and 90 degrees to illustrate matrix multiplications as linear transformations on a coordinate space.
Explore how a transformation matrix yields eigenvectors and eigenvalues that define invariant directions, like the lines y=x and y=-x, using unit vectors, and connect to quantum state transformations.
Explain how a polarizing filter selects photon polarization: 50% of 45-degree photons pass and align with the filter, while measurement changes the photon's polarization, illustrating quantum randomness.
Explore how sequential polarizing filters affect photons, showing that polarization acts as a quantum measurement that alters light and can yield unexpected transmission through intermediate angles.
Explore the no-cloning theorem by showing why measuring properties alters quantum states, why unknown systems cannot be cloned, and how identical copies exist only when system parameters are known.
Explore quantum cryptography concepts, including measurement disturbance, no-cloning, and aligned measurements, then learn XOR as a reversible boolean operation where the output is 1 when inputs differ.
Encode data as polarized photons with vertical or horizontal polarization in the BB84 protocol, and understand how eavesdropping compromises security and the shared secret.
Alice randomizes bit encoding between vertical/horizontal and 45-degree polarizations to prevent eavesdropping, and Bob's guesses decode only the correctly aligned bits while wrong guesses produce random, corrupted bits.
Demonstrate exchanging polarization angle encoding over a classical channel in BB84, where Alice and Bob identify correctly decoded bits, discard wrong ones, and distill a shared secret using XOR.
Alice and Bob share a secret key over insecure channels via a quantum-based protocol, enabling unbreakable one-use shared-secret encryption, based on quantum photon behavior. RSA’s quantum vulnerability underscores physics-based security.
Learn how calculus and mathematical models describe classical systems governed by Newton's laws, then develop an analogous quantum physics model by examining clues from physical experiments.
Explore how quantum mechanics uses complex numbers to model subtractive probabilities, illustrated by the double-slit interference pattern where probabilities add or cancel, and where square roots of probabilities become complex.
Explore how the qubit's superposition requires matrix algebra to define a quantum system, using a collection of numbers to model states.
Explore how electron spin, measured as up or down, serves as a quantum bit or qubit, connecting magnetic properties to the quantum version of a classical bit.
Explore how a quantum state is represented as a column matrix, or vector, with two elements for a qubit, whose complex numbers' square magnitudes yield spin-down and spin-up probabilities.
Explore how a qubit state vector yields probabilistic measurements in superposition and how measurement changes the state, with deterministic outcomes when probabilities are 0 or 1.
Rotate the apparatus to horizontal to measure spin, changing the electron’s state and yielding up or down with equal probability; after rotating back to the z-axis, measurements have equal probability.
Analyze how a quantum bit's state is represented as a two-element column vector and how measurement transforms this state, yielding deterministic outcomes after the first probabilistic result.
Measurement changes the state of the system regardless of the apparatus, and the math model explains how the system is altered during measurement; no apparatus can measure without changing it.
Explore how measurements alter a quantum system using a black box analogy: drawing an apple or an orange collapses the state, changing future probabilities.
Explore Dirac bra-ket notation to express qubit vectors algebraically, with |0> and |1> representing off and on states, and the equal superposition 1/√2(|0>+|1>) illustrating a superposed qubit.
Debunks the myth that quantum states are random by showing well-defined electron spin and apparatus states, with randomness arising only during measurements in misaligned directions, as with photon polarization.
Explain why measurement is irreversible: it changes the quantum state and destroys information about the prior state, as illustrated by the apple-and-orange box analogy.
Explore how a not gate acts as a reversible transformation, swapping qubit states via matrix multiplication. Note the pattern: irreversible initialization, reversible gates, and irreversible measurement.
Welcome to the bestselling quantum computing course on Udemy!
Quantum Computing is the next wave of the software industry. Quantum computers are exponentially faster than classical computers of today. Problems that were considered too difficult for computers to solve, such as simulation of protein folding in biological systems, and cracking RSA encryption, are now possible through quantum computers.
How fast are Quantum Computers? A 64-bit quantum computer can process 36 billion billion bytes of information in each step of computation. Compare that to the 8 bytes that your home computer can process in each step of computation!
Companies like Google, Intel, IBM, and Microsoft are investing billions in their quest to build quantum computers. If you master quantum computing now, you will be ready to profit from this technology revolution.
This course teaches quantum computing from the ground up. The only background you need is 12th grade level high-school Math and Physics.
IMPORTANT: You must enjoy Physics and Math to get the most out of this course. This course is primarily about analyzing the behavior of quantum circuits using Math and Quantum Physics. While everything you need to know beyond 12th grade high school science is explained here, you must be aware that Quantum Physics is an extremely difficult subject. You might frequently need to stop the video and replay the lesson to understand it.
QUANTUM MACHINE LEARNING
It appears that the killer-app for quantum computing will be machine learning and artificial intelligence.
Quantum machine learning algorithms provide a significant speed-up in training. This speed-up can result in more accurate predictions.
While understanding quantum algorithms requires mastery of complex math, using quantum machine learning is relatively simple. Qiskit encapsulates machine learning algorithms inside an API that mimics the popular Scikit-Learn machine-learning toolkit. So you can use quantum machine learning almost as easily as you would traditional ML!
Quantum machine learning can be applied in the back-end to train models, and those trained models can be used in consumer gadgets. This means that quantum machine learning might enhance your everyday life even if quantum computers remain expensive!
COURSE OUTLINE
We begin by learning about basic math. You might have forgotten the math you learned in high-school. I will review linear algebra, probability, Boolean algebra, and complex numbers.
Quantum physics is usually considered unapproachable because it deals with the behavior of extremely tiny particles. But in this course, I will explain quantum physics through the behavior of polarized light. Light is an everyday phenomenon and you will be able to understand it easily.
Next we learn about quantum cryptography. Quantum cryptography is provably unbreakable. I will explain the BB84 quantum protocol for secure key sharing.
Then we will learn about the building-blocks of quantum programs which are quantum gates.
To understand how quantum gates work, we will study quantum superposition and quantum entanglement in depth.
We will apply what we have learned by constructing quantum circuits using Microsoft Q# (QSharp) and IBM Qiskit. For those of you who don't know the Python programming language, I will provide a crisp introduction of what you need to know.
We will begin with simple circuits and then progress to a full implementation of the BB84 quantum cryptography protocol in Qiskit.
The killer-app for quantum computing is quantum machine learning.
To understand quantum machine learning, we must first learn how classical machine learning works. I provide a crisp introduction to classical machine learning and neural networks (deep learning).
Finally, we will train a Quantum Support Vector Machine on real-world data and use it to make predictions.
For a better learning experience, open the transcript panel.
You will see a small "transcript" button at the bottom-right of the video player on Udemy's website. If you click this button, the transcript of the narration will be displayed. The transcripts for all the videos have been hand-edited for accuracy. Opening the transcript panel will help you understand the concepts better.
If you missed an important concept, then you can click on text in the transcript panel to return directly to the part you want to repeat. Conversely, if you already understand the concept being presented, you can click on text in the transcript panel to skip ahead in the video.
Pacing : This course is designed to be slow with a lot of repetition.
Quantum physics is easier for beginners to understand when concepts are repeated. If you want to learn at a faster pace, then open the transcripts panel (as explained in the previous paragraph above) and click the transcript-text to skip ahead to the next concept.
Enroll today and join the quantum revolution!