This project visualizes the Uncertainty Principle in quantum mechanics using a 2D contour plot. The graph illustrates the relation between position uncertainty ( \Delta x ) and momentum uncertainty ( \Delta p ), and the minimum bound defined by ( \frac{\hbar}{2} ).
.
├── graph_uncertainty_principle.py # Main script to generate the uncertainty graph
└── README.md # Documentation for the project
- Python 3.9
- Matplotlib
- Numpy
Install:
pip install matplotlib numpy
-
Run the script:
python graph_uncertainty_principle.py
-
The plot will visualize the following:
- Contour levels representing ( \Delta x \Delta p - \frac{\hbar}{2} ).
- A colorbar indicating the magnitude of the uncertainty difference.
This project is licensed under the same terms as the BSc thesis it is derived from. Please refer to the thesis documentation for specific licensing details and any applicable restrictions.
For questions or suggestions related specifically to this thesis, please contact:
- Name: Ricard Santiago Raigada García
- Email: rraigadag@uoc.edu