This project demonstrates how to represent and visualize quantum states on an Arduino Board using density matrices.
Quantum_State_Visualization/
├── src/
│ ├── QuantumStates.jl
│ ├── Visualization.jl
│ └── Main.jl
│
├── test/
│ ├── test_QuantumStates.jl
│ └── test_Visualization.jl
│
├── arduino/
│ └── QuantumSensor.ino
│
├── Project.toml
├── LICENSE
├── .gitignore
└── README.md
- Julia (v1.8 or later)
- Arduino IDE
git clone https://github.com/peterajhgraham/quantum_state_visualization.git
cd Quantum_State_Visualization
using Pkg
Pkg.activate(".")
Pkg.instantiate()
- Open the QuantumSensor.ino file in the Arduino IDE.
- Connect your Arduino board to your computer.
- Upload the Arduino sketch to your board.
using Pkg
Pkg.activate(".")
include("src/Main.jl")
This will execute the Main.jl file, which ties together the functionality for QuantumStates.jl and Visualization.jl files.
The Main.jl script will handle the quantum state calculations and visualization. Ensure that your Arduino is connected and sending data as expected.