Quantum-Dynamics-Hub / libra-code

https://quantum-dynamics-hub.github.io/libra/index.html
GNU General Public License v3.0
48 stars 44 forks source link

Nested dicts and getattr calls in Python QTAG #142

Closed mdutra21 closed 2 years ago

mdutra21 commented 2 years ago

Removed instances of nested dict inputs and getattr calls to determine function objects. These are now decided by wrapper functions at the head of the relevant python files (initialization wrapper contained in qtag_init.py, etc.).

Added a second Notebook file in notebooks/Example21_qtag to demonstrate new input, which uses no C++ function calls.