ietsnut / Quantum 2.0 / Cinekid
Material | Cost |
---|---|
Plexiglass | ±100 |
PCB | ±80 |
PC | ? |
Projector | ? |
Sensors, magnets & IC | ±70 |
3D prints | ±50 |
Total | ±300 |
Interactive physical quantum computer. Capable of making quantum algorithms as puzzles. Made using magnets.
The schematic, using a raspberry pi, 16 hall effect sensors and 2 MCP3008 interfaces.
The hall effect sensors will sense different sculptures [python GPIO] (representing gates), translate this into a functional quantum circuit [python quantum simulator/qiskit], and draw the result on a screen (as density matrix) using [python processing].
Python Qiskit example (generated by ChatGPT):
from qiskit import QuantumCircuit, execute, Aer # create a quantum circuit with two qubits circuit = QuantumCircuit(2, 2) # apply Hadamard gate to each qubit circuit.h(0) circuit.h(1) # measure the qubits and store the results in classical bits circuit.measure([0, 1], [0, 1]) # simulate the circuit on a local quantum simulator backend = Aer.get_backend('qasm_simulator') job = execute(circuit, backend, shots=1024) result = job.result() # print the results print(result.get_counts(circuit))
Python MCP3008 Hall Effect Sensors on Raspberry Pi example (generated by ChatGPT):
import spidev # open a connection to the SPI bus and the MCP3008 chip spi = spidev.SpiDev() spi.open(0, 0) # read the values from two hall effect sensors connected to channels 0 and 1 on the MCP3008 def read_channel(channel): adc = spi.xfer2([1, (8 + channel) << 4, 0]) data = ((adc[1] & 3) << 8) + adc[2] return data hall1 = read_channel(0) hall2 = read_channel(1) # print the values to the console print("Hall effect sensor 1: {}".format(hall1)) print("Hall effect sensor 2: {}".format(hall2))
My quantum circuit simulator python module (fork from Aws Albarghouthi):
Quantum circuitry is similar to:
- Composition (musical notation)
- Mathematics (formula/algebraic)
- Routesetting (bouldering/climbing)
- Etc.
Ways of transposing gates/circuits from digital to physical:
- OpenCV (Python/Java/JS)
- LC circuits
- Magnet sensors and magnets / hall effect sensors
Inspiration from the Masterworks: Rare and Beautiful Chess Sets of the World book.
Inspiration from Elmar Trenkwalder’s Tuin der Lusten.
Inspiration from Love Hultén:
C A B I N E T o f A L G O R I T H M I C C U R I O S I T I E S
Some notes:
Meqanic uses a visualization of density matrix to represent quantum matrix state.