SQuADDS 0.3.2__tar.gz → 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. {SQuADDS-0.3.2/SQuADDS.egg-info → SQuADDS-0.3.3}/PKG-INFO +18 -10
  2. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/README.md +17 -9
  3. {SQuADDS-0.3.2 → SQuADDS-0.3.3/SQuADDS.egg-info}/PKG-INFO +18 -10
  4. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/setup.py +1 -1
  5. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/__init__.py +1 -1
  6. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/components/coupled_systems.py +1 -6
  7. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/db.py +5 -3
  8. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/simulations/objects.py +1 -1
  9. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/LICENSE +0 -0
  10. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/MANIFEST.in +0 -0
  11. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/SQuADDS.egg-info/SOURCES.txt +0 -0
  12. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/SQuADDS.egg-info/dependency_links.txt +0 -0
  13. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/SQuADDS.egg-info/requires.txt +0 -0
  14. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/SQuADDS.egg-info/top_level.txt +0 -0
  15. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/requirements.txt +0 -0
  16. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/setup.cfg +0 -0
  17. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/calcs/__init__.py +0 -0
  18. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/calcs/qubit.py +0 -0
  19. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/calcs/transmon_cross.py +0 -0
  20. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/components/__init__.py +0 -0
  21. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/components/cavity_claw.py +0 -0
  22. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/components/claw_coupler.py +0 -0
  23. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/__init__.py +0 -0
  24. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/analysis.py +0 -0
  25. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/design_patterns.py +0 -0
  26. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/globals.py +0 -0
  27. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/metrics.py +0 -0
  28. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/processing.py +0 -0
  29. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/core/utils.py +0 -0
  30. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/HuggingFace.py +0 -0
  31. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/__init__.py +0 -0
  32. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/abstract_upload_data.py +0 -0
  33. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/checker.py +0 -0
  34. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/config.py +0 -0
  35. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/contributor.py +0 -0
  36. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/contributor_HF.py +0 -0
  37. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/new_contribution.py +0 -0
  38. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/database/utils.py +0 -0
  39. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/interpolations/__init__.py +0 -0
  40. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/interpolations/interpolator.py +0 -0
  41. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/interpolations/physics.py +0 -0
  42. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/simulations/__init__.py +0 -0
  43. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/simulations/ansys_simulator.py +0 -0
  44. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/simulations/simulator.py +0 -0
  45. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/simulations/sweeper_helperfunctions.py +0 -0
  46. {SQuADDS-0.3.2 → SQuADDS-0.3.3}/squadds/simulations/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: SQuADDS
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Our project introduces an open-source database of programmatically generated and experimentally validated superconducting quantum device designs, accessible through a user-friendly interface, significantly lowering the entry barrier for research in this field.
5
5
  Home-page: https://github.com/LFL-Lab/SQuADDS
6
6
  Author: Sadman Ahmed Shanto
@@ -83,12 +83,19 @@ Read more on [install_guide](docs/installation/unix_install.md))
83
83
  If you use SQuADDS in your research, please cite the following paper:
84
84
 
85
85
  ```bibtex
86
- @article{SQuADDS,
87
- title={SQuADDS: A validated design database and simulation workflow for superconducting qubit design},
88
- author={Sadman Ahmed Shanto, Andre Kuo, Clark Miyamoto, Haimeng Zhang, Vivek Maurya, Evangelos Vlachos, Malida Hecht, Chung Wa Shum and Eli Levenson-Falk},
89
- journal={arXiv preprint arXiv: https://arxiv.org/pdf/2312.13483.pdf},
90
- year={2023}
91
- }
86
+ @article{Shanto2024squaddsvalidated,
87
+ doi = {10.22331/q-2024-09-09-1465},
88
+ url = {https://doi.org/10.22331/q-2024-09-09-1465},
89
+ title = {{SQ}u{ADDS}: {A} validated design database and simulation workflow for superconducting qubit design},
90
+ author = {Shanto, Sadman and Kuo, Andre and Miyamoto, Clark and Zhang, Haimeng and Maurya, Vivek and Vlachos, Evangelos and Hecht, Malida and Shum, Chung Wa and Levenson-Falk, Eli},
91
+ journal = {{Quantum}},
92
+ issn = {2521-327X},
93
+ publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
94
+ volume = {8},
95
+ pages = {1465},
96
+ month = sep,
97
+ year = {2024}
98
+ }
92
99
  ```
93
100
 
94
101
  ## Contributing
@@ -117,20 +124,21 @@ For inquiries or support, please contact [Sadman Ahmed Shanto](mailto:shanto@usc
117
124
  | Clark Miyamoto | New York University | Code contributor 💻 |
118
125
  | Madison Howard | California Institute of Technology | Bug Hunter 🐛 |
119
126
  | Malida Hecht | University of Southern California | Data contributor 📀 |
120
- | Evangelos Vlachos | University of Southern California | Code contributor 💻 and Bug Hunter 🐛 |
121
127
  | Anne Whelan | US Navy | Documentation contributor 📄 |
122
128
  | Jenny Huang | Columbia University | Documentation contributor 📄 |
123
129
  | Connie Miao | Stanford University | Data Contributor 📀 |
124
130
  | Daria Kowsari, PhD | University of Southern California | Data contributor 📀 |
125
131
  | Vivek Maurya | University of Southern California | Data contributor 📀 |
126
132
  | Haimeng Zhang, PhD | IBM | Data contributor 📀 |
127
- | Ethan Zheng | University of Southern California | Data contributor 📀 |
133
+ | Ethan Zheng | University of Southern California | Data contributor 📀 and Bug Hunter 🐛 |
128
134
  | Sara Sussman, PhD | Fermilab | Bug Hunter 🐛 |
129
135
 
130
136
  ## Developers
131
- - [shanto268](https://github.com/shanto268) - 230 contributions
137
+ - [shanto268](https://github.com/shanto268) - 237 contributions
132
138
  - [elizabethkunz](https://github.com/elizabethkunz) - 17 contributions
133
139
  - [NxtGenLegend](https://github.com/NxtGenLegend) - 1 contributions
140
+ - [ethanzhen7](https://github.com/ethanzhen7) - 1 contributions
134
141
  ---
135
142
 
136
143
 
144
+
@@ -70,12 +70,19 @@ Read more on [install_guide](docs/installation/unix_install.md))
70
70
  If you use SQuADDS in your research, please cite the following paper:
71
71
 
72
72
  ```bibtex
73
- @article{SQuADDS,
74
- title={SQuADDS: A validated design database and simulation workflow for superconducting qubit design},
75
- author={Sadman Ahmed Shanto, Andre Kuo, Clark Miyamoto, Haimeng Zhang, Vivek Maurya, Evangelos Vlachos, Malida Hecht, Chung Wa Shum and Eli Levenson-Falk},
76
- journal={arXiv preprint arXiv: https://arxiv.org/pdf/2312.13483.pdf},
77
- year={2023}
78
- }
73
+ @article{Shanto2024squaddsvalidated,
74
+ doi = {10.22331/q-2024-09-09-1465},
75
+ url = {https://doi.org/10.22331/q-2024-09-09-1465},
76
+ title = {{SQ}u{ADDS}: {A} validated design database and simulation workflow for superconducting qubit design},
77
+ author = {Shanto, Sadman and Kuo, Andre and Miyamoto, Clark and Zhang, Haimeng and Maurya, Vivek and Vlachos, Evangelos and Hecht, Malida and Shum, Chung Wa and Levenson-Falk, Eli},
78
+ journal = {{Quantum}},
79
+ issn = {2521-327X},
80
+ publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
81
+ volume = {8},
82
+ pages = {1465},
83
+ month = sep,
84
+ year = {2024}
85
+ }
79
86
  ```
80
87
 
81
88
  ## Contributing
@@ -104,20 +111,21 @@ For inquiries or support, please contact [Sadman Ahmed Shanto](mailto:shanto@usc
104
111
  | Clark Miyamoto | New York University | Code contributor 💻 |
105
112
  | Madison Howard | California Institute of Technology | Bug Hunter 🐛 |
106
113
  | Malida Hecht | University of Southern California | Data contributor 📀 |
107
- | Evangelos Vlachos | University of Southern California | Code contributor 💻 and Bug Hunter 🐛 |
108
114
  | Anne Whelan | US Navy | Documentation contributor 📄 |
109
115
  | Jenny Huang | Columbia University | Documentation contributor 📄 |
110
116
  | Connie Miao | Stanford University | Data Contributor 📀 |
111
117
  | Daria Kowsari, PhD | University of Southern California | Data contributor 📀 |
112
118
  | Vivek Maurya | University of Southern California | Data contributor 📀 |
113
119
  | Haimeng Zhang, PhD | IBM | Data contributor 📀 |
114
- | Ethan Zheng | University of Southern California | Data contributor 📀 |
120
+ | Ethan Zheng | University of Southern California | Data contributor 📀 and Bug Hunter 🐛 |
115
121
  | Sara Sussman, PhD | Fermilab | Bug Hunter 🐛 |
116
122
 
117
123
  ## Developers
118
- - [shanto268](https://github.com/shanto268) - 230 contributions
124
+ - [shanto268](https://github.com/shanto268) - 237 contributions
119
125
  - [elizabethkunz](https://github.com/elizabethkunz) - 17 contributions
120
126
  - [NxtGenLegend](https://github.com/NxtGenLegend) - 1 contributions
127
+ - [ethanzhen7](https://github.com/ethanzhen7) - 1 contributions
121
128
  ---
122
129
 
123
130
 
131
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: SQuADDS
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Our project introduces an open-source database of programmatically generated and experimentally validated superconducting quantum device designs, accessible through a user-friendly interface, significantly lowering the entry barrier for research in this field.
5
5
  Home-page: https://github.com/LFL-Lab/SQuADDS
6
6
  Author: Sadman Ahmed Shanto
@@ -83,12 +83,19 @@ Read more on [install_guide](docs/installation/unix_install.md))
83
83
  If you use SQuADDS in your research, please cite the following paper:
84
84
 
85
85
  ```bibtex
86
- @article{SQuADDS,
87
- title={SQuADDS: A validated design database and simulation workflow for superconducting qubit design},
88
- author={Sadman Ahmed Shanto, Andre Kuo, Clark Miyamoto, Haimeng Zhang, Vivek Maurya, Evangelos Vlachos, Malida Hecht, Chung Wa Shum and Eli Levenson-Falk},
89
- journal={arXiv preprint arXiv: https://arxiv.org/pdf/2312.13483.pdf},
90
- year={2023}
91
- }
86
+ @article{Shanto2024squaddsvalidated,
87
+ doi = {10.22331/q-2024-09-09-1465},
88
+ url = {https://doi.org/10.22331/q-2024-09-09-1465},
89
+ title = {{SQ}u{ADDS}: {A} validated design database and simulation workflow for superconducting qubit design},
90
+ author = {Shanto, Sadman and Kuo, Andre and Miyamoto, Clark and Zhang, Haimeng and Maurya, Vivek and Vlachos, Evangelos and Hecht, Malida and Shum, Chung Wa and Levenson-Falk, Eli},
91
+ journal = {{Quantum}},
92
+ issn = {2521-327X},
93
+ publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
94
+ volume = {8},
95
+ pages = {1465},
96
+ month = sep,
97
+ year = {2024}
98
+ }
92
99
  ```
93
100
 
94
101
  ## Contributing
@@ -117,20 +124,21 @@ For inquiries or support, please contact [Sadman Ahmed Shanto](mailto:shanto@usc
117
124
  | Clark Miyamoto | New York University | Code contributor 💻 |
118
125
  | Madison Howard | California Institute of Technology | Bug Hunter 🐛 |
119
126
  | Malida Hecht | University of Southern California | Data contributor 📀 |
120
- | Evangelos Vlachos | University of Southern California | Code contributor 💻 and Bug Hunter 🐛 |
121
127
  | Anne Whelan | US Navy | Documentation contributor 📄 |
122
128
  | Jenny Huang | Columbia University | Documentation contributor 📄 |
123
129
  | Connie Miao | Stanford University | Data Contributor 📀 |
124
130
  | Daria Kowsari, PhD | University of Southern California | Data contributor 📀 |
125
131
  | Vivek Maurya | University of Southern California | Data contributor 📀 |
126
132
  | Haimeng Zhang, PhD | IBM | Data contributor 📀 |
127
- | Ethan Zheng | University of Southern California | Data contributor 📀 |
133
+ | Ethan Zheng | University of Southern California | Data contributor 📀 and Bug Hunter 🐛 |
128
134
  | Sara Sussman, PhD | Fermilab | Bug Hunter 🐛 |
129
135
 
130
136
  ## Developers
131
- - [shanto268](https://github.com/shanto268) - 230 contributions
137
+ - [shanto268](https://github.com/shanto268) - 237 contributions
132
138
  - [elizabethkunz](https://github.com/elizabethkunz) - 17 contributions
133
139
  - [NxtGenLegend](https://github.com/NxtGenLegend) - 1 contributions
140
+ - [ethanzhen7](https://github.com/ethanzhen7) - 1 contributions
134
141
  ---
135
142
 
136
143
 
144
+
@@ -6,7 +6,7 @@ with open('requirements.txt') as f:
6
6
 
7
7
  setup(
8
8
  name='SQuADDS',
9
- version='0.3.2',
9
+ version='0.3.3',
10
10
  packages=find_packages(),
11
11
  description='Our project introduces an open-source database of programmatically generated and experimentally validated superconducting quantum device designs, accessible through a user-friendly interface, significantly lowering the entry barrier for research in this field.',
12
12
  long_description=open('README.md').read(),
@@ -1,6 +1,6 @@
1
1
  import os
2
2
 
3
- __version__ = '0.3.2'
3
+ __version__ = '0.3.3'
4
4
  __license__ = "MIT License"
5
5
  __copyright__ = 'Sadman Ahmed Shanto, Eli Levenson-Falk 2023'
6
6
  __author__ = 'Sadman Ahmed Shanto, Eli Levenson-Falk'
@@ -1,4 +1,3 @@
1
- import warnings
2
1
  from collections import OrderedDict
3
2
 
4
3
  import numpy as np
@@ -64,11 +63,7 @@ class QubitCavity(QComponent):
64
63
  self.make_qubit()
65
64
  self.make_cavity()
66
65
  self.make_pins()
67
- warnings.warn(
68
- "There may be \"kinks\" in the CPW. This is due to the ``asymmetry`` parameter in the CPW options. To remove the kinks, change the ``asymmetry`` parameter until the CPW is smooth.\nAlternatively, you may consider playing with the ``start_jogged_extension`` options",
69
- ResourceWarning
70
- )
71
- # print("There may be \"kinks\" in the CPW. This is due to the ``asymmetry`` parameter in the CPW options. To remove the kinks, change the ``asymmetry`` parameter until the CPW is smooth.\nAlternatively, you may consider playing with the ``start_jogged_extension`` options")
66
+ print("There may be \"kinks\" in the CPW. This is due to the ``asymmetry`` parameter in the CPW options. To remove the kinks, change the ``asymmetry`` parameter until the CPW is smooth.\nAlternatively, you may consider playing with the ``start_jogged_extension`` options")
72
67
 
73
68
  def make_qubit(self):
74
69
  """
@@ -11,12 +11,11 @@ import pandas as pd
11
11
  import requests
12
12
  from datasets import get_dataset_config_names, load_dataset
13
13
  from huggingface_hub import login
14
- from tabulate import tabulate
15
- from tqdm import tqdm
16
-
17
14
  from squadds.core.design_patterns import SingletonMeta
18
15
  from squadds.core.processing import *
19
16
  from squadds.core.utils import *
17
+ from tabulate import tabulate
18
+ from tqdm import tqdm
20
19
 
21
20
  #* HANDLE WARNING MESSAGES
22
21
  if sys.platform == "darwin": # Checks if the operating system is macOS
@@ -299,6 +298,9 @@ class SQuADDS_DB(metaclass=SingletonMeta):
299
298
  # Transpose the table (convert columns to rows)
300
299
  table = list(map(list, zip(*table)))
301
300
 
301
+ # Remove duplicate entries in table
302
+ table = [list(x) for x in set(tuple(x) for x in table)]
303
+
302
304
  # Print the table with headers
303
305
  print(tabulate(table, headers=["Component", "Component Name", "Data Available", "Component Image"],tablefmt="grid"))
304
306
 
@@ -266,7 +266,7 @@ def run_eigenmode(design, geometry_dict, sim_options):
266
266
  mesh_lengths = {}
267
267
  coupler_type = "CLT"
268
268
  # "finger_count" in geometry_dict["cplr_opts"]
269
- if geometry_dict['cprl_opts'].get('finger_count') is not None :
269
+ if geometry_dict['cplr_opts'].get('finger_count') is not None :
270
270
  coupler_type = "NCap"
271
271
  render_simulation_no_ports(epra, [cpw,claw], [(cpw.name, "start")], config.design_name, setup.vars)
272
272
  mesh_lengths = {'mesh1': {"objects": [f"trace_{cpw.name}", f"readout_connector_arm_{claw.name}"], "MaxLength": '4um'}}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes