Skip to content

Commit

Permalink
Updated the setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSekavcnik committed Feb 29, 2024
1 parent 6b42383 commit 1432eab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
1 change: 1 addition & 0 deletions examples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

19 changes: 0 additions & 19 deletions examples/mach_zender_bb84.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,22 +124,3 @@
det1 = mm.get_mode_index(dsig1.mode_id)
det2 = mm.get_mode_index(dsig2.mode_id)
disc = mm.get_mode_index(signals["qsig6"].mode_id)

p1 = [0,0,0]
p1[det1] = 1
p1[det2] = 0
p1[disc] = 0

p2 = [0,0,0]
p2[det1] = 0
p2[det2] = 0
p2[disc] = 1


print(det1, det2)
print(f"Probability |1,0,0>, |det1, det2, disc>")
print(state.all_fock_probs()[*p1])
print(f"Probability |0,0,1>, |det1, det2, disc>")
print(state.all_fock_probs()[*p2])
print(state.all_fock_probs())
print(state.dm().shape)
1 change: 1 addition & 0 deletions quasi/gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# logging.basicConfig(level=logging.DEBUG)



def main(page: ft.Page):
"""Initialize the QuaSi GUI Program."""
page.padding = 0
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
description="Simulating quantum experiments with realistic device models",
license="Apache 2.0",
packages=find_packages(where="."),
install_requires=["numpy", "numba", "scipy", "flet"],
install_requires=["numpy", "numba", "scipy", "flet",
"matplotlib", "plotly", "qutip", "seaborn"],
)

0 comments on commit 1432eab

Please sign in to comment.