Giter Site home page Giter Site logo

theheavygluon / qpy Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 6.9 MB

QPy is a python module that aims at making many quantum mechanical computations/simulations operable in no more than a line of code. For example, the tise.solve() feature solves the Time-Independent Schrödinger Equation, plots the Wavefunction and prints the eigenvalues (something that would usually take a few hundred lines of code to do). This numerical package is useful for anyone taking or teaching QM1 as the syntax barely requires a learning curve and makes rigorous problems to be solved in seconds!

License: MIT License

Python 100.00%

qpy's Introduction

QPy

QPy is a python module that aims at making many quantum mechanical computations/simulations operable in no more than a line of code. For example, the tise.solve() feature solves the Time-Independent Schrödinger Equation, plots the Wavefunction and prints the eigenvalues (something that would usually take a few hundred lines of code to do). This numerical package is useful for anyone taking QM1 as the syntax barely requires a learning curve and makes rigorous problems solved in seconds!

State of the project

The first version includes 4 main features: QSolve, which solves a few algebraic QM-related eqns, QPlot, which plots a few algebraic eqns, tise, which solves the 1D Time Independant Schrodinger Equation and psiTools, which allows one to make a few wavefunction-related calculations such as normalization, finding probability, expectation values, uncertainty, etc.

This is how you import each feature:

-from QPy import Solver as QSolve

-from QPy import Plotter as QPlot

-from QPy import tise

-from QPy import psiTools as psi

Demos are available on test.py

Modules used

-Numpy

-Scipy

-Matplotlib

qpy's People

Contributors

theheavygluon avatar

Stargazers

W.S avatar  avatar Nuno David avatar

Watchers

 avatar

Forkers

adamsadek

qpy's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.