Awesome
<p align='center'><img src="img/ui-streamlit-red.png" width="250"></p>qash-qkdc-streamlit
streamlit ui for qash-qkdc (quantum key derivation circuits)
Web UI (streamlit.app):
Updates:
- gaussian and fock features are commented out due to compatibility issues between streamlit-cloud and strawberryfields
- if running locally, you can uncomment lines 3,6,58-72 in main.py to take advantage of gaussian and fock backends
- support for gradient calculation
- single and double precision modes
- google cirq simulator now supported
- options -> device -> cirq
- gaussian hash circuit mode now available
- gaussian implementation using strawberryfields sdk
- options -> simulator -> gaussian
- partial JIT implemented for superconductor circuit
- allows for faster performance
Local Deployment Instructions:
-
activate python environment
-
execute commands below...
git clone https://github.com/TimeMelt/qash-qkdc-streamlit.git cd qash-qkdc-streamlit pip install -r requirements.txt streamlit run main.py
Jupyter Notebook:
- this streamlit app is based on the qash-qkdc jupyter notebook
- gaussian mode based on GausQash jupyter notebook
Credits:
-
ui libraries provided by Streamlit
-
quantum libraries provided by PennyLane:
-
Ville Bergholm et al. PennyLane: Automatic differentiation of hybrid quantum-classical computations. 2018. arXiv:1811.04968
-
-
acceleration using JAX library:
jax2018github, author = {James Bradbury and Roy Frostig and Peter Hawkins and Matthew James Johnson and Chris Leary and Dougal Maclaurin and George Necula and Adam Paszke and Jake Vander{P}las and Skye Wanderman-{M}ilne and Qiao Zhang}, title = {{JAX}: composable transformations of {P}ython+{N}um{P}y programs}, url = {http://github.com/google/jax}, version = {0.3.13}, year = {2018},
-
GausQash quantum libraries provided by StrawberryFields:
Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and Christian Weedbrook. "Strawberry Fields: A Software Platform for Photonic Quantum Computing", Quantum, 3, 129 (2019).
Thomas R. Bromley, Juan Miguel Arrazola, Soran Jahangiri, Josh Izaac, Nicolás Quesada, Alain Delgado Gran, Maria Schuld, Jeremy Swinarton, Zeid Zabaneh, and Nathan Killoran. "Applications of Near-Term Photonic Quantum Computers: Software and Algorithms", Quantum Sci. Technol. 5 034010 (2020).