Skip to content

Commit

Permalink
QC-Applications - PyLIQTR1.0 Migration + RuCl Documentation (#8)
Browse files Browse the repository at this point in the history
* First commit to package qca with the introduction of a qca/utils module that contains utility functions reused in the photosynthesis and fermi hubbard notebooks

* responded to changes in gitignore and pyproject. Removed requirements.txt as pyproject now handles that

* fixed *.bak typo

* reverted versioning to be prev versions

* Feature/magnetic lattice 1.0 (#5)

* pyliqrt 1.0 support up to qsp estimation

* complete translation to pyliqtr1.0.0 for the magneticlattices notebook

* fixed bug with qsp estimation and went through the notebook

* made the change to pyliqtr1.0 to HightemperatureSuperConductorExample jupyter notebook

* added output for the notebook

* removed old fermi hubbard notebook

* removed unused imports

* added hamiltonian utils file. Would proabbly be moved to some hamiltonian module in the future

* have the notebook use the packaged utility functions

* finalized adding additional features for fermi hubbard support

* fixed pyproject versioning

* successfull running of magnetic lattice using pyliqtr1.0 ontop of modularized functionality

* adding back fermihubbard notebook from main

* forgot to remove requirements file

* changed generate_square_hamiltonian to generate_square_hamiltonian and generate_triangle_hamiltonian to better seperate the two

* changed notebook to respond to PR comments, i.e, changed shape_graph to graph_shape and just manually imported all functions that are needed

* Fermi Hubbard Notebook translation to pyLIQTR1.0 (#3)

* made the change to pyliqtr1.0 to HightemperatureSuperConductorExample jupyter notebook

* added output for the notebook

* removed old fermi hubbard notebook

* removed unused imports

* added hamiltonian utils file. Would proabbly be moved to some hamiltonian module in the future

* have the notebook use the packaged utility functions

* finalized adding additional features for fermi hubbard support

* fixed pyproject versioning

* PhotoSynthesis Notebook pyLIQTR1.0 Migration (#6)

* translated  PyLIQTR1.0 to Photosynthesis example. GSE object was originally just a wrapped PE object, so had to explicitly specify PE objects now for GSEE

* made the change to pyliqtr1.0 to HightemperatureSuperConductorExample jupyter notebook

* added output for the notebook

* whitespace changes t photosynthesis

* removed old fermi hubbard notebook

* removed unused imports

* added hamiltonian utils file. Would proabbly be moved to some hamiltonian module in the future

* have the notebook use the packaged utility functions

* finalized adding additional features for fermi hubbard support

* fixed pyproject versioning

* finished modularizing qca with respect to photosynthesis notebook

* RuCl migration of pyLIQTR-1.0 (#4)

* RuCl migration of pyLIQTR-1.0

* deleted old RuCl notebook

* Fix Trotter printing, update pyproject.toml to use pyLIQTR 1.0.0, update gitignore

* updated notebook to take out unused imports and fix unused colors issue

* structured RuCl notebook to use qca package, fixed plot_T_histogram header in qca.utils.utils

* removed unused functs and imports, changed the plot_histogram funct in qca, and reverted some previous changes, fixed plotting, changed assign_labels to allow generic x y z labels

* added default args to assign_hexagon_labels, removed the commented code for  plotting for qsp, made the labels uppercase

---------

Co-authored-by: Zain Mughal <[email protected]>
Co-authored-by: Zachary Alexander Morrell <[email protected]>

* RuCl documentation update (#7)

* Add documentation to RuCl notebook, Pin pyLIQTR to version 1.0.0, add local field term for resource estimates

* Add explanation of terms in table.  Fix appearance of Heisenberg terms in VSCode

* Add Zeeman terms to Hamiltonian in RuCl, fix typos

* State preparation ru cl (#13)

* Add state preparation documentation and fix RNG seeding

* fixed time varying terms and added approprimate terms for rucl lattice

* Add resource estimate for state preparation and measurement

* Add state prep and measurement resource estimates section, attempt to fix figures

* Reduce image size of Figure 1

* Remove unused variable from prepare_measurement_rucl

---------

Co-authored-by: Jonhas Colina <[email protected]>

* fixed gsee issue where it wasn't counting the current number of gates and depth for GSEE in the fermihubbard notebook (#12)

---------

Co-authored-by: Zain Mughal <[email protected]>
Co-authored-by: Zain Mughal <[email protected]>
Co-authored-by: Zachary Alexander Morrell <[email protected]>
Co-authored-by: zmorrell <[email protected]>
  • Loading branch information
5 people authored Mar 13, 2024
1 parent bb69497 commit 4f6b178
Show file tree
Hide file tree
Showing 18 changed files with 3,356 additions and 3,165 deletions.
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,59 @@
Trotter/*
notebooks/Trotter/*
QSP/*
notebooks/QSP/*
.ipynb*
*.sh
GSE/*
notebooks/GSE/*
*.zip
qasm_circuits/*

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec


# Environments
.env
.venv
env/
venv/
ENV/
*.bak

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

579 changes: 0 additions & 579 deletions HighTemperatureSuperConductorExample.ipynb

This file was deleted.

1,138 changes: 0 additions & 1,138 deletions MagneticLattices.ipynb

This file was deleted.

Loading

0 comments on commit 4f6b178

Please sign in to comment.