项目作者: alihakimtaskiran

项目描述 :
Quantum Optic Simulator
高级语言: Python
项目地址: git://github.com/alihakimtaskiran/QO.git
创建时间: 2021-07-14T21:54:06Z
项目社区:https://github.com/alihakimtaskiran/QO

开源协议:GNU General Public License v3.0

下载


QO

Wave Optic Simulator

Light… The most exciting part of the existance… We have various models to explain the behavior of the light. One of them is Wave Optics. Wave Optics emerges, as the ray optic couldn’t explain the phenomenons of interference and diffraction. Wave optic, understood by the name, explains the light as wave. Phase of the wave varies throug the time and location of the field. The QO simulates this behaviours. You can locate arbitrary light sources in the space and observe them from wherever you want. The QO has accelerated renderer. It has easy to learn python API and C++ backend. You only program easily with python and C++ handles the heavy computations.

1.1 Tree


  1. |——PhotonField(object)——|
    | |—- init(dim)
    | |—-add(content)
    | |—-observe(locations, moment)
    |
    |——Shiny(object)—————|
    |—-init(location, presence, amplitude, frequency, phase=0)

How to Install


Download QO.py and renderer.cpp. Then compile the c++ file named as renderer.bin. After that add the binary file into the same directory with QO.py. It’s ready to work.