https://github.com/uclatommy/quantum-symcell
Symengine wrapper for Quantum
https://github.com/uclatommy/quantum-symcell
Last synced: 3 months ago
JSON representation
Symengine wrapper for Quantum
- Host: GitHub
- URL: https://github.com/uclatommy/quantum-symcell
- Owner: uclatommy
- Created: 2016-11-29T17:16:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-04T00:48:18.000Z (over 9 years ago)
- Last Synced: 2025-12-26T20:10:13.174Z (7 months ago)
- Language: C++
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quantum-SymCell
Symengine wrapper for Quantum
This project demonstrates how to build a C++ plugin for Quantum. Make sure you have built all dependencies.
You can find those here: [Quantum-Installer](https://github.com/uclatommy/Quantum-Installer.git)
git clone https://github.com/uclatommy/Quantum-Installer.git
./dev-install.sh
./create-osx-bundle.sh
./install-kivy-framework.sh master
./setup-quantum.sh
Now you can build Quantum-SymCell:
git clone https://github.com/uclatommy/Quantum-SymCell.git
./pre-build.sh
mkdir build && cd build
cmake ..
make install
You should now have `libSymCell.dylib` installed to `/Applications/Quantum.app/Contents/Resources/.kivy/extensions/plugins`. Start Quantum's embedded Python interpreter:
/Applications/Quantum.app/Contents/Resources/python
Import and use `libSymCell.dylib`
import os
import Quantum
kernel = QuKernel()
kernel.load_plugin(os.path.join(kernel.root_directory, 'extensions', 'plugins', 'libSymCell.dylib')