K Flashcards
(39 cards)
What is the classical stack?
How are inputs converted to outputs?
Gates
What are bits?
The fundamental units of information in a computer. Either a 0(open circuit) or a 1(closed circuit).
Used because can be electrically easily represented by on or off
What are transistors?
Small electric switches
What are gates?
Manipulate bits
What is a circuit?
A sequence of gates
What is the path to Quantum Coding?
- Basics of Python
- Basics of Cirq
- Quantum coding
What are python Libraires?
Specialised fools in a toolbox. Pre made instructions ready to go
What are the main python coding libraries for Quantum Computing
Cirq and numpy
what are attributes?
data
- the information we work with
- eg: the names of all the students in a class or the answer to a problem
nouns/ names
what are methods (behaviour)?
- the actions we perform with the data
- eg: sorting the names of students/ calculating the naswers to a problem
verbs/ actions
what is an object?
attributes and methods together
what are data types/ classes?
a tool to create a specific object
cookie cutter
what are the conventions of naming variables?
- no numbers at the **
start ** - no special characters
- no built in words
what is a quantum computer?
a device that akes inputs, processes them in a quantum mechanical way and outputs the results
* superposition
* interference
* entanglement
* measurement
what is the problem of the classical stack?
- the end of moores law
- limitations of the atomic scale
- cannot put that many transistors into small micro chip
what is quantum tunneling?
an object teleporting to the other side of a closed barrier without ever touching it
what are problematic quantum effects?
- as the micro chip is made smaller and smaller
- the probability of quantum tunneling becomes more and more frequent
- 1s could look ike 0s leading to calculation errors beyond correction
classical computers cannot be made more powerful
what is the quantum stack?
bottom to top
- quantum bits (Qubits)
- quantum gates
- quantum circuits
- quantum algorithms and protocols
- applications
usses quantumn mechnaics
what is a qubit?
can be in a state of 0 or 1 **or in a state of superposition **
what is the super position analogy?
flipping a coin
what are the two different quantumn gates?
- X gate (gives opposite)
- H gate (creates equal super position)
what are 3 main ways to represent qubits?
- ket notation |0> |1>,
- the bloch sphere
- vectors
what are the advantagtes of quantum computers?
- can search / test large databases much quicker
- secure encryption
*