{"id":22984912,"url":"https://github.com/saviornt/wave-function-with-probability-density","last_synced_at":"2025-06-16T04:33:25.068Z","repository":{"id":235763969,"uuid":"791196436","full_name":"saviornt/Wave-Function-with-Probability-Density","owner":"saviornt","description":"Jupyter notebook that visualizes a wave function for a particle at a specific time.","archived":false,"fork":false,"pushed_at":"2024-04-24T09:24:09.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T01:52:41.264Z","etag":null,"topics":["jupyter-notebook","physics","quantum-physics","simulation"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saviornt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-24T09:11:55.000Z","updated_at":"2024-04-24T09:26:04.000Z","dependencies_parsed_at":"2024-04-24T15:04:03.835Z","dependency_job_id":null,"html_url":"https://github.com/saviornt/Wave-Function-with-Probability-Density","commit_stats":null,"previous_names":["saviornt/wave-function-with-probability-density"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saviornt%2FWave-Function-with-Probability-Density","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saviornt%2FWave-Function-with-Probability-Density/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saviornt%2FWave-Function-with-Probability-Density/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saviornt%2FWave-Function-with-Probability-Density/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saviornt","download_url":"https://codeload.github.com/saviornt/Wave-Function-with-Probability-Density/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246802612,"owners_count":20836369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jupyter-notebook","physics","quantum-physics","simulation"],"created_at":"2024-12-15T03:18:34.241Z","updated_at":"2025-04-02T10:45:34.030Z","avatar_url":"https://github.com/saviornt.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cb\u003eWavefunction Visualization\u003c/b\u003e\n\nThis Python code visualizes a wave function (Ψ) for a particle and its probability density. The wave function describes the probability of finding the particle at a specific position (x) and time (t).\n\nFeatures:\n\u003cul\u003e\n\u003cli\u003eInteractive plot using Plotly.\u003c/li\u003e\n\u003cli\u003eSliders to adjust wave number (k) and time (t).\u003c/li\u003e\n\u003cli\u003eReal part of the wave function and probability density are displayed.\u003c/li\u003e\n\u003c/ul\u003e\nRunning the Script:\u003cbr /\u003e\u003cbr /\u003e\n\u003col\u003e\n\u003cli\u003eMake sure you have the required libraries installed: numpy, plotly, ipywidgets. You can install them using pip install numpy plotly ipywidgets.\u003c/li\u003e\n\u003cli\u003eSave the code in a Python file (e.g., wavefunction_visualization.py).\u003c/li\u003e\n\u003cli\u003eRun the script from your terminal using python wavefunction_visualization.py.\u003c/li\u003e\n\u003c/ol\u003e\u003cbr /\u003e\nExplanation:\n\u003cbr /\u003e\u003cbr /\u003e\n\u003cul\u003e\n\u003cli\u003eWave number (k): Relates to the momentum of the particle.\u003c/li\u003e\n\u003cli\u003eTime (t): Represents the specific time at which the wave function is visualized.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cbr /\u003e\nMathematical Background:\n\u003cbr /\u003e\u003cbr /\u003e\nThe wave function is visualized using the following equation:\n\u003cbr /\u003e\u003cbr /\u003e\nΨ(x, t) = exp(1j * (k * x - t)) + exp(-1j * (k * x + t))\n\u003cbr /\u003e\u003cbr /\u003e\nwhere:\n\u003cbr /\u003e\u003cbr /\u003e\n\u003cul\u003e\n\u003cli\u003eΨ(x, t): Wave function at position (x) and time (t)\u003c/li\u003e\n\u003cli\u003ek: Wave number (related to momentum)\u003c/li\u003e\n\u003cli\u003et: Time\u003c/li\u003e\n\u003cli\u003ej: Imaginary unit\u003c/li\u003e\n\u003c/ul\u003e\n\u003cbr /\u003e\nFurther Customization:\n\u003cbr /\u003e\u003cbr /\u003e\nYou can modify the code to visualize the imaginary part of the wave function instead of the real part.\nThe code can be extended to include additional features, such as animation to show wave function evolution over time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaviornt%2Fwave-function-with-probability-density","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaviornt%2Fwave-function-with-probability-density","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaviornt%2Fwave-function-with-probability-density/lists"}