sccircuits 0.1.0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Joan Caceres
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,233 @@
1
+ Metadata-Version: 2.4
2
+ Name: sccircuits
3
+ Version: 0.1.0
4
+ Summary: Superconducting Circuit Analysis Package
5
+ Author-email: Joan Caceres <contact@joancaceres.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://joanjcaceres.github.io/sccircuits/
8
+ Project-URL: Repository, https://github.com/joanjcaceres/sccircuits
9
+ Project-URL: Documentation, https://joanjcaceres.github.io/sccircuits/
10
+ Project-URL: Issues, https://github.com/joanjcaceres/sccircuits/issues
11
+ Keywords: superconducting circuits,quantum circuits,circuit quantization,BBQ,black box quantization
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: Topic :: Scientific/Engineering :: Physics
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Requires-Python: >=3.11
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: numpy<3,>=2.3
23
+ Requires-Dist: scipy<2,>=1.15
24
+ Requires-Dist: matplotlib<4,>=3.10
25
+ Requires-Dist: sympy<2,>=1.13
26
+ Requires-Dist: PyYAML<7,>=6
27
+ Provides-Extra: interactive
28
+ Requires-Dist: ipywidgets<9,>=8.1; extra == "interactive"
29
+ Requires-Dist: IPython<10,>=9; extra == "interactive"
30
+ Provides-Extra: docs
31
+ Requires-Dist: mkdocs<2,>=1.6; extra == "docs"
32
+ Requires-Dist: mkdocs-material<10,>=9.5; extra == "docs"
33
+ Requires-Dist: pymdown-extensions<11,>=10.8; extra == "docs"
34
+ Provides-Extra: dev
35
+ Requires-Dist: build<2,>=1.2; extra == "dev"
36
+ Requires-Dist: pytest<9,>=8.4; extra == "dev"
37
+ Requires-Dist: pytest-cov<7,>=5; extra == "dev"
38
+ Requires-Dist: ruff<1,>=0.12; extra == "dev"
39
+ Requires-Dist: mypy<2,>=1.16; extra == "dev"
40
+ Requires-Dist: twine<7,>=6; extra == "dev"
41
+ Requires-Dist: jupyter<2,>=1; extra == "dev"
42
+ Requires-Dist: notebook<8,>=7; extra == "dev"
43
+ Dynamic: license-file
44
+
45
+ # SCCircuits
46
+
47
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17751124.svg)](https://doi.org/10.5281/zenodo.17751124)
48
+
49
+ SCCircuits is a Python package for numerical superconducting-circuit analysis.
50
+ It focuses on matrix-based black-box quantization, dense Hamiltonian
51
+ construction, spectroscopy workflows, and small research utilities for
52
+ superconducting quantum circuits.
53
+
54
+ ## Documentation
55
+
56
+ The user-facing documentation is published at:
57
+
58
+ [https://joanjcaceres.github.io/sccircuits/](https://joanjcaceres.github.io/sccircuits/)
59
+
60
+ Recommended starting points:
61
+
62
+ - [BBQ Overview](https://joanjcaceres.github.io/sccircuits/bbq/) explains the practical workflow from cQEDraw or circuit matrices to `BBQ` results.
63
+ - [BBQ Quickstart](https://joanjcaceres.github.io/sccircuits/bbq/quickstart/) gives a runnable matrix example with frequencies and phase ZPFs.
64
+ - [BBQ Examples](https://joanjcaceres.github.io/sccircuits/bbq/examples/) collects worked examples and the planned cQEDraw project-download example.
65
+ - [BBQ Validation](https://joanjcaceres.github.io/sccircuits/bbq/validation/) explains the code-backed checks behind the matrix reductions and branch conventions.
66
+ - [BBQ Implementation Notes](https://joanjcaceres.github.io/sccircuits/bbq/implementation-notes/) maps the mathematical derivation to the current `BBQ` implementation stages.
67
+ - [BBQ API](https://joanjcaceres.github.io/sccircuits/api/bbq/) shows how to call `sccircuits.BBQ`, read frequencies and phase ZPFs, and build Hamiltonians.
68
+ - [Circuit Matrix Quantization](https://joanjcaceres.github.io/sccircuits/theory/circuit-matrix-quantization/) documents the matrix reductions, mode normalization, units, and branch phase zero-point fluctuations.
69
+
70
+ The site is intentionally incremental. `BBQ` is the first fully documented
71
+ research workflow because it is currently the most mature path between cQEDraw
72
+ and SCCircuits. The rest of the package should be documented through the same
73
+ site as those workflows stabilize.
74
+
75
+ The Markdown source for the website lives in `docs/`. Build it locally with:
76
+
77
+ ```bash
78
+ pixi run -e sccircuits docs-build
79
+ ```
80
+
81
+ ## Companion GUI
82
+
83
+ [`cQEDraw`](https://cqedraw.org/) is the companion web app for drawing and
84
+ analyzing superconducting circuit graphs. A typical workflow is:
85
+
86
+ 1. Draw the circuit in cQEDraw.
87
+ 2. Export or copy the generated capacitance matrix, inverse-inductance matrix,
88
+ and Josephson junction records.
89
+ 3. Pass those matrices and records to `sccircuits.BBQ`.
90
+ 4. Inspect mode frequencies, branch phase ZPFs, and Hamiltonian spectra in
91
+ Python.
92
+
93
+ ## Installation
94
+
95
+ ### Recommended: pip
96
+
97
+ Researchers should install SCCircuits from PyPI:
98
+
99
+ ```bash
100
+ python -m pip install sccircuits
101
+ ```
102
+
103
+ This installs the pure-Python SCCircuits package plus NumPy, SciPy,
104
+ Matplotlib, SymPy, and PyYAML from normal Python wheels. Pixi is not required
105
+ to use the package.
106
+
107
+ Optional extras are available for notebook widgets, development, and docs:
108
+
109
+ ```bash
110
+ python -m pip install "sccircuits[interactive]"
111
+ python -m pip install "sccircuits[dev]"
112
+ python -m pip install "sccircuits[docs]"
113
+ ```
114
+
115
+ ### Development: Pixi
116
+
117
+ Pixi remains the recommended contributor environment because it keeps the
118
+ NumPy/SciPy stack reproducible while developing and testing the repository.
119
+
120
+ ```bash
121
+ git clone https://github.com/joanjcaceres/sccircuits.git
122
+ cd sccircuits
123
+ pixi run -e sccircuits install-dev
124
+ pixi run -e sccircuits test
125
+ ```
126
+
127
+ For local editable development without Pixi:
128
+
129
+ ```bash
130
+ python -m venv .venv
131
+ source .venv/bin/activate
132
+ python -m pip install -e ".[dev,interactive,docs]"
133
+ ```
134
+
135
+ ### Performance Baseline
136
+
137
+ SCCircuits relies on NumPy and SciPy wheels for cross-platform BLAS/LAPACK
138
+ linear algebra. The first public package does not compile native extensions or
139
+ require GPU-specific backends.
140
+
141
+ To record a quick local diagonalization baseline:
142
+
143
+ ```bash
144
+ python benchmarks/diagonalization_smoke.py
145
+ ```
146
+
147
+ ## Quick Example
148
+
149
+ ```python
150
+ import numpy as np
151
+ from sccircuits import BBQ
152
+
153
+ capacitance_matrix = np.array(
154
+ [
155
+ [40e-15, -32.9e-15],
156
+ [-32.9e-15, 40e-15],
157
+ ]
158
+ )
159
+
160
+ inverse_inductance_matrix = np.array(
161
+ [
162
+ [1 / 1.23e-9, 0.0],
163
+ [0.0, 1 / 1.23e-9],
164
+ ]
165
+ )
166
+
167
+ bbq = BBQ(
168
+ capacitance_matrix,
169
+ inverse_inductance_matrix,
170
+ nonlinear_branches=(0, 1),
171
+ )
172
+
173
+ print("Mode frequencies in GHz:", bbq.frequencies_ghz)
174
+ print("Branch phase ZPFs:", bbq.branch_phase_zpfs)
175
+ ```
176
+
177
+ For cQEDraw exports with Josephson junction records, pass the records directly:
178
+
179
+ ```python
180
+ bbq = BBQ(
181
+ capacitance_matrix,
182
+ inverse_inductance_matrix,
183
+ junctions=junctions,
184
+ )
185
+ ```
186
+
187
+ `BBQ` keeps the junction row order when reporting `branch_phase_zpfs` and
188
+ `josephson_energies_ghz`, so drawing tools can map results back to the original
189
+ branches.
190
+
191
+ ## Core Modules
192
+
193
+ - `sccircuits.BBQ`: black-box quantization from capacitance and inverse-inductance matrices.
194
+ - `sccircuits.Circuit`: dense superconducting-circuit Hamiltonian construction and diagonalization.
195
+ - `sccircuits.TransitionFitter`: transition-frequency fitting utilities.
196
+ - `sccircuits.PointPicker`: interactive point selection for data analysis.
197
+
198
+ ## Development
199
+
200
+ Run the main checks with:
201
+
202
+ ```bash
203
+ pixi run -e sccircuits test
204
+ pixi run -e sccircuits lint
205
+ pixi run -e sccircuits docs-build
206
+ ```
207
+
208
+ Check the pip package path with:
209
+
210
+ ```bash
211
+ python -m build
212
+ python -m twine check dist/*
213
+ python -m pip install dist/sccircuits-0.1.0-py3-none-any.whl
214
+ python -m pip check
215
+ python tests/pip_smoke.py
216
+ ```
217
+
218
+ If dependency resolution becomes inconsistent, recreate the Pixi environment:
219
+
220
+ ```bash
221
+ pixi clean
222
+ pixi run -e sccircuits install-dev
223
+ ```
224
+
225
+ ## License
226
+
227
+ This project is licensed under the MIT License. See `LICENSE` for details.
228
+
229
+ ## Contact
230
+
231
+ Joan Caceres - contact@joanjcaceres.com
232
+
233
+ Project link: [https://github.com/joanjcaceres/sccircuits](https://github.com/joanjcaceres/sccircuits)
@@ -0,0 +1,189 @@
1
+ # SCCircuits
2
+
3
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17751124.svg)](https://doi.org/10.5281/zenodo.17751124)
4
+
5
+ SCCircuits is a Python package for numerical superconducting-circuit analysis.
6
+ It focuses on matrix-based black-box quantization, dense Hamiltonian
7
+ construction, spectroscopy workflows, and small research utilities for
8
+ superconducting quantum circuits.
9
+
10
+ ## Documentation
11
+
12
+ The user-facing documentation is published at:
13
+
14
+ [https://joanjcaceres.github.io/sccircuits/](https://joanjcaceres.github.io/sccircuits/)
15
+
16
+ Recommended starting points:
17
+
18
+ - [BBQ Overview](https://joanjcaceres.github.io/sccircuits/bbq/) explains the practical workflow from cQEDraw or circuit matrices to `BBQ` results.
19
+ - [BBQ Quickstart](https://joanjcaceres.github.io/sccircuits/bbq/quickstart/) gives a runnable matrix example with frequencies and phase ZPFs.
20
+ - [BBQ Examples](https://joanjcaceres.github.io/sccircuits/bbq/examples/) collects worked examples and the planned cQEDraw project-download example.
21
+ - [BBQ Validation](https://joanjcaceres.github.io/sccircuits/bbq/validation/) explains the code-backed checks behind the matrix reductions and branch conventions.
22
+ - [BBQ Implementation Notes](https://joanjcaceres.github.io/sccircuits/bbq/implementation-notes/) maps the mathematical derivation to the current `BBQ` implementation stages.
23
+ - [BBQ API](https://joanjcaceres.github.io/sccircuits/api/bbq/) shows how to call `sccircuits.BBQ`, read frequencies and phase ZPFs, and build Hamiltonians.
24
+ - [Circuit Matrix Quantization](https://joanjcaceres.github.io/sccircuits/theory/circuit-matrix-quantization/) documents the matrix reductions, mode normalization, units, and branch phase zero-point fluctuations.
25
+
26
+ The site is intentionally incremental. `BBQ` is the first fully documented
27
+ research workflow because it is currently the most mature path between cQEDraw
28
+ and SCCircuits. The rest of the package should be documented through the same
29
+ site as those workflows stabilize.
30
+
31
+ The Markdown source for the website lives in `docs/`. Build it locally with:
32
+
33
+ ```bash
34
+ pixi run -e sccircuits docs-build
35
+ ```
36
+
37
+ ## Companion GUI
38
+
39
+ [`cQEDraw`](https://cqedraw.org/) is the companion web app for drawing and
40
+ analyzing superconducting circuit graphs. A typical workflow is:
41
+
42
+ 1. Draw the circuit in cQEDraw.
43
+ 2. Export or copy the generated capacitance matrix, inverse-inductance matrix,
44
+ and Josephson junction records.
45
+ 3. Pass those matrices and records to `sccircuits.BBQ`.
46
+ 4. Inspect mode frequencies, branch phase ZPFs, and Hamiltonian spectra in
47
+ Python.
48
+
49
+ ## Installation
50
+
51
+ ### Recommended: pip
52
+
53
+ Researchers should install SCCircuits from PyPI:
54
+
55
+ ```bash
56
+ python -m pip install sccircuits
57
+ ```
58
+
59
+ This installs the pure-Python SCCircuits package plus NumPy, SciPy,
60
+ Matplotlib, SymPy, and PyYAML from normal Python wheels. Pixi is not required
61
+ to use the package.
62
+
63
+ Optional extras are available for notebook widgets, development, and docs:
64
+
65
+ ```bash
66
+ python -m pip install "sccircuits[interactive]"
67
+ python -m pip install "sccircuits[dev]"
68
+ python -m pip install "sccircuits[docs]"
69
+ ```
70
+
71
+ ### Development: Pixi
72
+
73
+ Pixi remains the recommended contributor environment because it keeps the
74
+ NumPy/SciPy stack reproducible while developing and testing the repository.
75
+
76
+ ```bash
77
+ git clone https://github.com/joanjcaceres/sccircuits.git
78
+ cd sccircuits
79
+ pixi run -e sccircuits install-dev
80
+ pixi run -e sccircuits test
81
+ ```
82
+
83
+ For local editable development without Pixi:
84
+
85
+ ```bash
86
+ python -m venv .venv
87
+ source .venv/bin/activate
88
+ python -m pip install -e ".[dev,interactive,docs]"
89
+ ```
90
+
91
+ ### Performance Baseline
92
+
93
+ SCCircuits relies on NumPy and SciPy wheels for cross-platform BLAS/LAPACK
94
+ linear algebra. The first public package does not compile native extensions or
95
+ require GPU-specific backends.
96
+
97
+ To record a quick local diagonalization baseline:
98
+
99
+ ```bash
100
+ python benchmarks/diagonalization_smoke.py
101
+ ```
102
+
103
+ ## Quick Example
104
+
105
+ ```python
106
+ import numpy as np
107
+ from sccircuits import BBQ
108
+
109
+ capacitance_matrix = np.array(
110
+ [
111
+ [40e-15, -32.9e-15],
112
+ [-32.9e-15, 40e-15],
113
+ ]
114
+ )
115
+
116
+ inverse_inductance_matrix = np.array(
117
+ [
118
+ [1 / 1.23e-9, 0.0],
119
+ [0.0, 1 / 1.23e-9],
120
+ ]
121
+ )
122
+
123
+ bbq = BBQ(
124
+ capacitance_matrix,
125
+ inverse_inductance_matrix,
126
+ nonlinear_branches=(0, 1),
127
+ )
128
+
129
+ print("Mode frequencies in GHz:", bbq.frequencies_ghz)
130
+ print("Branch phase ZPFs:", bbq.branch_phase_zpfs)
131
+ ```
132
+
133
+ For cQEDraw exports with Josephson junction records, pass the records directly:
134
+
135
+ ```python
136
+ bbq = BBQ(
137
+ capacitance_matrix,
138
+ inverse_inductance_matrix,
139
+ junctions=junctions,
140
+ )
141
+ ```
142
+
143
+ `BBQ` keeps the junction row order when reporting `branch_phase_zpfs` and
144
+ `josephson_energies_ghz`, so drawing tools can map results back to the original
145
+ branches.
146
+
147
+ ## Core Modules
148
+
149
+ - `sccircuits.BBQ`: black-box quantization from capacitance and inverse-inductance matrices.
150
+ - `sccircuits.Circuit`: dense superconducting-circuit Hamiltonian construction and diagonalization.
151
+ - `sccircuits.TransitionFitter`: transition-frequency fitting utilities.
152
+ - `sccircuits.PointPicker`: interactive point selection for data analysis.
153
+
154
+ ## Development
155
+
156
+ Run the main checks with:
157
+
158
+ ```bash
159
+ pixi run -e sccircuits test
160
+ pixi run -e sccircuits lint
161
+ pixi run -e sccircuits docs-build
162
+ ```
163
+
164
+ Check the pip package path with:
165
+
166
+ ```bash
167
+ python -m build
168
+ python -m twine check dist/*
169
+ python -m pip install dist/sccircuits-0.1.0-py3-none-any.whl
170
+ python -m pip check
171
+ python tests/pip_smoke.py
172
+ ```
173
+
174
+ If dependency resolution becomes inconsistent, recreate the Pixi environment:
175
+
176
+ ```bash
177
+ pixi clean
178
+ pixi run -e sccircuits install-dev
179
+ ```
180
+
181
+ ## License
182
+
183
+ This project is licensed under the MIT License. See `LICENSE` for details.
184
+
185
+ ## Contact
186
+
187
+ Joan Caceres - contact@joanjcaceres.com
188
+
189
+ Project link: [https://github.com/joanjcaceres/sccircuits](https://github.com/joanjcaceres/sccircuits)
@@ -0,0 +1,85 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "sccircuits"
7
+ version = "0.1.0"
8
+ description = "Superconducting Circuit Analysis Package"
9
+ readme = "README.md"
10
+ authors = [
11
+ {name = "Joan Caceres", email = "contact@joancaceres.com"}
12
+ ]
13
+ license = "MIT"
14
+ license-files = ["LICENSE"]
15
+ classifiers = [
16
+ "Development Status :: 3 - Alpha",
17
+ "Intended Audience :: Science/Research",
18
+ "Topic :: Scientific/Engineering :: Physics",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13"
23
+ ]
24
+ keywords = ["superconducting circuits", "quantum circuits", "circuit quantization", "BBQ", "black box quantization"]
25
+ requires-python = ">=3.11"
26
+
27
+ dependencies = [
28
+ "numpy>=2.3,<3",
29
+ "scipy>=1.15,<2",
30
+ "matplotlib>=3.10,<4",
31
+ "sympy>=1.13,<2",
32
+ "PyYAML>=6,<7",
33
+ ]
34
+
35
+ [project.optional-dependencies]
36
+ interactive = [
37
+ "ipywidgets>=8.1,<9",
38
+ "IPython>=9,<10"
39
+ ]
40
+ docs = [
41
+ "mkdocs>=1.6,<2",
42
+ "mkdocs-material>=9.5,<10",
43
+ "pymdown-extensions>=10.8,<11",
44
+ ]
45
+ dev = [
46
+ "build>=1.2,<2",
47
+ "pytest>=8.4,<9",
48
+ "pytest-cov>=5,<7",
49
+ "ruff>=0.12,<1",
50
+ "mypy>=1.16,<2",
51
+ "twine>=6,<7",
52
+ "jupyter>=1,<2",
53
+ "notebook>=7,<8"
54
+ ]
55
+
56
+ [project.urls]
57
+ Homepage = "https://joanjcaceres.github.io/sccircuits/"
58
+ Repository = "https://github.com/joanjcaceres/sccircuits"
59
+ Documentation = "https://joanjcaceres.github.io/sccircuits/"
60
+ Issues = "https://github.com/joanjcaceres/sccircuits/issues"
61
+
62
+ [tool.setuptools]
63
+ packages = ["sccircuits"]
64
+
65
+ [tool.setuptools.package-data]
66
+ sccircuits = ["*.py"]
67
+
68
+ [tool.ruff]
69
+ line-length = 88
70
+ target-version = "py311"
71
+
72
+ [tool.ruff.lint]
73
+ select = ["E4", "E7", "E9", "F"]
74
+
75
+ [tool.mypy]
76
+ python_version = "3.11"
77
+ warn_return_any = true
78
+ warn_unused_configs = true
79
+ disallow_untyped_defs = true
80
+
81
+ [tool.pytest.ini_options]
82
+ testpaths = ["tests"]
83
+ python_files = "test_*.py"
84
+ python_classes = "Test*"
85
+ python_functions = "test_*"
@@ -0,0 +1,75 @@
1
+ """
2
+ SCCircuits - Superconducting Circuit Analysis Package
3
+
4
+ A comprehensive Python package for analyzing superconducting quantum circuits,
5
+ including chain-based circuit models, Black Box Quantization (BBQ), and
6
+ spectroscopy-fitting workflows.
7
+
8
+ Main Classes:
9
+ Circuit: Main circuit class for superconducting quantum circuits
10
+ BBQ: Black Box Quantization analysis
11
+ TransitionFitter: General transition frequency fitting
12
+ FitAnalysis: Post-fit diagnostics for least-squares results
13
+ PointPicker: Interactive point selection tool for data analysis
14
+
15
+ Utilities:
16
+ lanczos_krylov: Lanczos algorithm for Hermitian matrices
17
+ IterativeHamiltonianDiagonalizer: Multi-mode Hamiltonian diagonalization
18
+ """
19
+
20
+ __version__ = "0.1.0"
21
+ __author__ = "Joan Caceres"
22
+ __email__ = "contact@joancaceres.com"
23
+
24
+ # Core circuit analysis classes
25
+ from .circuit import Circuit
26
+ from .bbq import BBQ
27
+
28
+ # Fitting and analysis tools
29
+ from .transition_fitter import TransitionFitter
30
+ from .pointpicker import PointPicker
31
+ from .fit_analysis import FitAnalysis
32
+
33
+ # Numerical utilities
34
+ from .iterative_diagonalizer import IterativeHamiltonianDiagonalizer
35
+ from .utilities import lanczos_krylov
36
+
37
+ # Public API - what gets imported with "from sccircuits import *"
38
+ __all__ = [
39
+ # Core classes
40
+ "Circuit",
41
+ "BBQ",
42
+ # Analysis tools
43
+ "TransitionFitter",
44
+ "PointPicker",
45
+ "FitAnalysis",
46
+ # Utilities
47
+ "IterativeHamiltonianDiagonalizer",
48
+ "lanczos_krylov",
49
+ # Package metadata
50
+ "__version__",
51
+ "__author__",
52
+ "__email__",
53
+ ]
54
+
55
+
56
+ # Package information
57
+ def get_version():
58
+ """Return the version of the sccircuits package."""
59
+ return __version__
60
+
61
+
62
+ def get_info():
63
+ """Return basic information about the sccircuits package."""
64
+ return {
65
+ "name": "sccircuits",
66
+ "version": __version__,
67
+ "author": __author__,
68
+ "description": "Superconducting Circuit Analysis Package",
69
+ "main_classes": [
70
+ "Circuit",
71
+ "BBQ",
72
+ "TransitionFitter",
73
+ "FitAnalysis",
74
+ ],
75
+ }