K Flashcards
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