joqed 0.0.1__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.
joqed-0.0.1/.gitignore ADDED
@@ -0,0 +1,218 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ # Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ # poetry.lock
109
+ # poetry.toml
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115
+ # pdm.lock
116
+ # pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # pixi
121
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122
+ # pixi.lock
123
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124
+ # in the .venv directory. It is recommended not to include this directory in version control.
125
+ .pixi
126
+
127
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
128
+ __pypackages__/
129
+
130
+ # Celery stuff
131
+ celerybeat-schedule
132
+ celerybeat.pid
133
+
134
+ # Redis
135
+ *.rdb
136
+ *.aof
137
+ *.pid
138
+
139
+ # RabbitMQ
140
+ mnesia/
141
+ rabbitmq/
142
+ rabbitmq-data/
143
+
144
+ # ActiveMQ
145
+ activemq-data/
146
+
147
+ # SageMath parsed files
148
+ *.sage.py
149
+
150
+ # Environments
151
+ .env
152
+ .envrc
153
+ .venv
154
+ env/
155
+ venv/
156
+ ENV/
157
+ env.bak/
158
+ venv.bak/
159
+
160
+ # Spyder project settings
161
+ .spyderproject
162
+ .spyproject
163
+
164
+ # Rope project settings
165
+ .ropeproject
166
+
167
+ # mkdocs documentation
168
+ /site
169
+
170
+ # mypy
171
+ .mypy_cache/
172
+ .dmypy.json
173
+ dmypy.json
174
+
175
+ # Pyre type checker
176
+ .pyre/
177
+
178
+ # pytype static type analyzer
179
+ .pytype/
180
+
181
+ # Cython debug symbols
182
+ cython_debug/
183
+
184
+ # PyCharm
185
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
186
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
187
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
188
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
189
+ # .idea/
190
+
191
+ # Abstra
192
+ # Abstra is an AI-powered process automation framework.
193
+ # Ignore directories containing user credentials, local state, and settings.
194
+ # Learn more at https://abstra.io/docs
195
+ .abstra/
196
+
197
+ # Visual Studio Code
198
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
199
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
200
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
201
+ # you could uncomment the following to ignore the entire vscode folder
202
+ # .vscode/
203
+ # Temporary file for partial code execution
204
+ tempCodeRunnerFile.py
205
+
206
+ # Ruff stuff:
207
+ .ruff_cache/
208
+
209
+ # PyPI configuration file
210
+ .pypirc
211
+
212
+ # Marimo
213
+ marimo/_static/
214
+ marimo/_lsp/
215
+ __marimo__/
216
+
217
+ # Streamlit
218
+ .streamlit/secrets.toml
joqed-0.0.1/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
joqed-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,66 @@
1
+ Metadata-Version: 2.5
2
+ Name: joqed
3
+ Version: 0.0.1
4
+ Summary: JoQED - design flow for superconducting quantum chips and their control circuits
5
+ Project-URL: Homepage, https://github.com/joqed/joqed
6
+ Project-URL: Repository, https://github.com/joqed/joqed
7
+ Author: Roman Klimovich
8
+ License: Apache-2.0
9
+ License-File: LICENSE
10
+ Keywords: EDA,circuit-QED,design-flow,quantum,qubit,superconducting
11
+ Classifier: Development Status :: 1 - Planning
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Topic :: Scientific/Engineering :: Physics
16
+ Requires-Python: >=3.11
17
+ Description-Content-Type: text/markdown
18
+
19
+ # JoQED
20
+
21
+ **Quantum control-circuit design flow.**
22
+
23
+ JoQED (*Josephson QED*, pronounced "Jo-Q-E-D") is an early-stage design-automation
24
+ project for superconducting quantum chips and their control circuitry: formulate
25
+ physical targets (frequencies, χ, κ, T1, capacitances), simulate, and iteratively
26
+ optimize the chip geometry until the targets converge.
27
+
28
+ ## Status
29
+
30
+ Pre-alpha. This repository currently holds the reference design flows and tooling
31
+ groundwork; the software itself is under construction.
32
+
33
+ ## Design flows
34
+
35
+ Two reference flows, documented as flow charts in [docs/design-flow](docs/design-flow):
36
+
37
+ | Flow | Chart | Stack |
38
+ |---|---|---|
39
+ | Commercial | [design_flow_hfss.pdf](docs/design-flow/design_flow_hfss.pdf) | Qiskit Metal → Ansys HFSS (eigenmode / capacitance) → pyEPR → optimizer |
40
+ | Open source | [design_flow_opensource.pdf](docs/design-flow/design_flow_opensource.pdf) | Qiskit Metal → Gmsh → Palace (eigenmode / electrostatic) → EPR analysis → optimizer |
41
+
42
+ The open-source flow runs identically on macOS and Linux; on Windows, Palace runs
43
+ via WSL2 or Docker. The charts are generated by the `build_flow_*.py` scripts in
44
+ the same directory (requires `reportlab`).
45
+
46
+ ## Tooling
47
+
48
+ - [tools/build_palace.sh](tools/build_palace.sh) — builds
49
+ [Palace](https://github.com/awslabs/palace) (AWS's open-source FEM solver for
50
+ electromagnetics) from source into `tools/palace/`, using Homebrew-provided
51
+ CMake, Open MPI, gfortran, and OpenBLAS on macOS. Expect a 30–60 minute compile.
52
+
53
+ ## Open-source stack
54
+
55
+ | Role | Tool | License |
56
+ |---|---|---|
57
+ | Chip layout | [Qiskit Metal](https://github.com/qiskit-community/qiskit-metal) (`quantum-metal` fork) | Apache-2.0 |
58
+ | Meshing | [Gmsh](https://gmsh.info) | GPL |
59
+ | FEM simulation (eigenmode, electrostatic) | [Palace](https://github.com/awslabs/palace) | Apache-2.0 |
60
+ | Metal → Palace bridge | [SQDMetal](https://github.com/sqdlab/SQDMetal) | BSD-3 |
61
+ | Quantum analysis | [scqubits](https://github.com/scqubits/scqubits), [QuTiP](https://qutip.org), [pyEPR](https://github.com/zlatko-minev/pyEPR) | BSD |
62
+ | Optimization | [QDesignOptimizer](https://github.com/202Q-lab/QDesignOptimizer) | Apache-2.0 |
63
+
64
+ ## License
65
+
66
+ [Apache License 2.0](LICENSE)
joqed-0.0.1/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # JoQED
2
+
3
+ **Quantum control-circuit design flow.**
4
+
5
+ JoQED (*Josephson QED*, pronounced "Jo-Q-E-D") is an early-stage design-automation
6
+ project for superconducting quantum chips and their control circuitry: formulate
7
+ physical targets (frequencies, χ, κ, T1, capacitances), simulate, and iteratively
8
+ optimize the chip geometry until the targets converge.
9
+
10
+ ## Status
11
+
12
+ Pre-alpha. This repository currently holds the reference design flows and tooling
13
+ groundwork; the software itself is under construction.
14
+
15
+ ## Design flows
16
+
17
+ Two reference flows, documented as flow charts in [docs/design-flow](docs/design-flow):
18
+
19
+ | Flow | Chart | Stack |
20
+ |---|---|---|
21
+ | Commercial | [design_flow_hfss.pdf](docs/design-flow/design_flow_hfss.pdf) | Qiskit Metal → Ansys HFSS (eigenmode / capacitance) → pyEPR → optimizer |
22
+ | Open source | [design_flow_opensource.pdf](docs/design-flow/design_flow_opensource.pdf) | Qiskit Metal → Gmsh → Palace (eigenmode / electrostatic) → EPR analysis → optimizer |
23
+
24
+ The open-source flow runs identically on macOS and Linux; on Windows, Palace runs
25
+ via WSL2 or Docker. The charts are generated by the `build_flow_*.py` scripts in
26
+ the same directory (requires `reportlab`).
27
+
28
+ ## Tooling
29
+
30
+ - [tools/build_palace.sh](tools/build_palace.sh) — builds
31
+ [Palace](https://github.com/awslabs/palace) (AWS's open-source FEM solver for
32
+ electromagnetics) from source into `tools/palace/`, using Homebrew-provided
33
+ CMake, Open MPI, gfortran, and OpenBLAS on macOS. Expect a 30–60 minute compile.
34
+
35
+ ## Open-source stack
36
+
37
+ | Role | Tool | License |
38
+ |---|---|---|
39
+ | Chip layout | [Qiskit Metal](https://github.com/qiskit-community/qiskit-metal) (`quantum-metal` fork) | Apache-2.0 |
40
+ | Meshing | [Gmsh](https://gmsh.info) | GPL |
41
+ | FEM simulation (eigenmode, electrostatic) | [Palace](https://github.com/awslabs/palace) | Apache-2.0 |
42
+ | Metal → Palace bridge | [SQDMetal](https://github.com/sqdlab/SQDMetal) | BSD-3 |
43
+ | Quantum analysis | [scqubits](https://github.com/scqubits/scqubits), [QuTiP](https://qutip.org), [pyEPR](https://github.com/zlatko-minev/pyEPR) | BSD |
44
+ | Optimization | [QDesignOptimizer](https://github.com/202Q-lab/QDesignOptimizer) | Apache-2.0 |
45
+
46
+ ## License
47
+
48
+ [Apache License 2.0](LICENSE)
@@ -0,0 +1,173 @@
1
+ from reportlab.lib.colors import HexColor, white
2
+ from reportlab.lib.pagesizes import A3
3
+ from reportlab.pdfgen import canvas
4
+ from reportlab.lib.utils import simpleSplit
5
+ from pathlib import Path
6
+ import math
7
+
8
+ OUT = Path("output/pdf/qdesignoptimizer_design_flow_portrait.pdf")
9
+ OUT.parent.mkdir(parents=True, exist_ok=True)
10
+ W, H = A3
11
+ TEXT = HexColor("#20252B")
12
+ GRAY = HexColor("#F7F8FA")
13
+ STROKE = HexColor("#68727D")
14
+ BLUE = HexColor("#EAF3FF")
15
+ BLUE_LINE = HexColor("#4A90E2")
16
+ YELLOW = HexColor("#FFF4D6")
17
+ YELLOW_LINE = HexColor("#D79B00")
18
+ PURPLE = HexColor("#EDE7F6")
19
+ PURPLE_LINE = HexColor("#7E57C2")
20
+ GREEN = HexColor("#E8F5E9")
21
+ GREEN_LINE = HexColor("#43A047")
22
+ RED = HexColor("#E5533D")
23
+ ARROW = HexColor("#59636E")
24
+
25
+ def lines(text, font, size, width):
26
+ return simpleSplit(text, font, size, width)
27
+
28
+ def text(c, value, x, y, width, font="Helvetica", size=8, leading=10):
29
+ ls = lines(value, font, size, width)
30
+ c.setFillColor(TEXT)
31
+ c.setFont(font, size)
32
+ for i, line in enumerate(ls):
33
+ c.drawCentredString(x + width / 2, y - i * leading, line)
34
+ return len(ls) * leading
35
+
36
+ def box(c, x, y, w, h, title, detail="", fill=GRAY, stroke=STROKE, size=9):
37
+ c.setFillColor(fill)
38
+ c.setStrokeColor(stroke)
39
+ c.setLineWidth(1.3)
40
+ c.roundRect(x, y, w, h, 7, fill=1, stroke=1)
41
+ tl = lines(title, "Helvetica-Bold", size, w - 14)
42
+ dl = lines(detail, "Helvetica", 7.2, w - 14) if detail else []
43
+ total = len(tl) * (size + 1) + (5 + len(dl) * 8 if dl else 0)
44
+ top = y + (h + total) / 2 - size
45
+ text(c, title, x + 7, top, w - 14, "Helvetica-Bold", size, size + 1)
46
+ if dl:
47
+ text(c, detail, x + 7, top - len(tl) * (size + 1) - 4, w - 14, "Helvetica", 7.2, 8)
48
+
49
+ def diamond(c, cx, cy, w, h, label):
50
+ c.setFillColor(YELLOW)
51
+ c.setStrokeColor(YELLOW_LINE)
52
+ c.setLineWidth(1.5)
53
+ p = c.beginPath()
54
+ p.moveTo(cx, cy + h / 2)
55
+ p.lineTo(cx + w / 2, cy)
56
+ p.lineTo(cx, cy - h / 2)
57
+ p.lineTo(cx - w / 2, cy)
58
+ p.close()
59
+ c.drawPath(p, fill=1, stroke=1)
60
+ text(c, label, cx - w / 2 + 12, cy + 4, w - 24, "Helvetica-Bold", 8, 10)
61
+
62
+ def arrow(c, pts, color=ARROW, label=None, label_at=None):
63
+ c.setStrokeColor(color)
64
+ c.setFillColor(color)
65
+ c.setLineWidth(1.3)
66
+ p = c.beginPath()
67
+ p.moveTo(*pts[0])
68
+ for pt in pts[1:]:
69
+ p.lineTo(*pt)
70
+ c.drawPath(p, stroke=1, fill=0)
71
+ x1, y1 = pts[-2]
72
+ x2, y2 = pts[-1]
73
+ a = math.atan2(y2 - y1, x2 - x1)
74
+ s = 7
75
+ c.line(x2, y2, x2 + s * math.cos(a + 2.65), y2 + s * math.sin(a + 2.65))
76
+ c.line(x2, y2, x2 + s * math.cos(a - 2.65), y2 + s * math.sin(a - 2.65))
77
+ if label and label_at:
78
+ c.setFillColor(color)
79
+ c.setFont("Helvetica-Bold", 8)
80
+ c.drawCentredString(*label_at, label)
81
+
82
+ def connector(c, pts, color=ARROW, width=1.3):
83
+ c.setStrokeColor(color)
84
+ c.setLineWidth(width)
85
+ p = c.beginPath()
86
+ p.moveTo(*pts[0])
87
+ for pt in pts[1:]:
88
+ p.lineTo(*pt)
89
+ c.drawPath(p, stroke=1, fill=0)
90
+
91
+ def section(c, x, y, w, h, title):
92
+ c.setFillColor(BLUE)
93
+ c.setStrokeColor(BLUE_LINE)
94
+ c.setLineWidth(1.2)
95
+ c.roundRect(x, y, w, h, 9, fill=1, stroke=1)
96
+ c.setFillColor(BLUE_LINE)
97
+ c.setFont("Helvetica-Bold", 11)
98
+ c.drawString(x + 12, y + h - 18, title)
99
+
100
+ c = canvas.Canvas(str(OUT), pagesize=A3)
101
+ c.setTitle("QDesignOptimizer Design Flow")
102
+ c.setAuthor("QDesignOptimizer")
103
+ c.setFillColor(white)
104
+ c.rect(0, 0, W, H, fill=1, stroke=0)
105
+ margin = 48
106
+ center = W / 2
107
+ main_w = 250
108
+ main_x = center - main_w / 2
109
+
110
+ c.setFillColor(TEXT)
111
+ c.setFont("Helvetica-Bold", 22)
112
+ c.drawString(margin, H - 42, "QDesignOptimizer Design Flow")
113
+ c.setFont("Helvetica", 10)
114
+ c.setFillColor(STROKE)
115
+ c.drawString(margin, H - 60, "Portrait overview: formulate targets, simulate, update design variables, and validate convergence")
116
+
117
+ box(c, center - 75, 1076, 150, 42, "Start optimization project", size=9)
118
+ arrow(c, [(center, 1076), (center, 1048)])
119
+ box(c, main_x, 998, main_w, 50, "Project setup", "A Qiskit Metal design project", fill=BLUE, stroke=BLUE_LINE)
120
+ arrow(c, [(center, 998), (center, 980)])
121
+
122
+ section(c, 60, 830, W - 120, 150, "1. Problem formulation")
123
+ cards = [
124
+ (77, "design.py", "Qiskit Metal chip layout"),
125
+ (217, "design_variables.json", "Initial geometry and junction values"),
126
+ (357, "parameter_targets.py", "Desired frequencies, kappa, chi, T1"),
127
+ (497, "optimization_targets.py", "Physical parameter-variable relations"),
128
+ (637, "mini_studies.py", "HFSS study, ports, and mesh settings"),
129
+ ]
130
+ for x, title, detail in cards:
131
+ box(c, x, 865, 128, 72, title, detail, fill=white, stroke=BLUE_LINE, size=8.1)
132
+ arrow(c, [(center, 830), (center, 806)])
133
+ box(c, main_x, 756, main_w, 50, "Render chip in Qiskit Metal", "Build the current geometry")
134
+ arrow(c, [(center, 756), (center, 727)])
135
+ diamond(c, center, 697, 150, 60, "Simulation path")
136
+
137
+ left_x = 110
138
+ right_x = W - 330
139
+ box(c, left_x, 598, 220, 48, "Ansys HFSS eigenmode simulation", "Resonant modes and fields", size=8.6)
140
+ box(c, right_x, 598, 220, 48, "Ansys HFSS capacitance matrix", "Capacitances and coupling", size=8.6)
141
+ arrow(c, [(center, 667), (center, 656), (left_x + 110, 656), (left_x + 110, 646)], label="Eigenmode", label_at=(center - 92, 660))
142
+ arrow(c, [(center, 667), (center, 656), (right_x + 110, 656), (right_x + 110, 646)], label="Capacitance", label_at=(center + 92, 660))
143
+
144
+ box(c, left_x, 518, 220, 48, "pyEPR energy participation analysis", "Hamiltonian and loss parameters", size=8.4)
145
+ box(c, right_x, 518, 220, 48, "Capacitance and decay analysis", "Estimate kappa, T1, or capacitance", size=8.4)
146
+ arrow(c, [(left_x + 110, 598), (left_x + 110, 566)])
147
+ arrow(c, [(right_x + 110, 598), (right_x + 110, 566)])
148
+
149
+ box(c, main_x, 434, main_w, 50, "Extract current quantum parameters", "Frequencies, chi, anharmonicity, kappa, T1, and capacitance", size=8.7)
150
+ connector(c, [(left_x + 110, 518), (left_x + 110, 501), (center, 501)])
151
+ connector(c, [(right_x + 110, 518), (right_x + 110, 501), (center, 501)])
152
+ arrow(c, [(center, 501), (center, 484)])
153
+
154
+ box(c, main_x, 350, main_w, 50, "ANModOptimizer", "Uses targets and physical relations to solve the approximate model", fill=PURPLE, stroke=PURPLE_LINE, size=10)
155
+ arrow(c, [(center, 434), (center, 400)])
156
+ box(c, main_x, 268, main_w, 50, "Propose updated design variables", "Respect constraints and adjustment rate")
157
+ arrow(c, [(center, 350), (center, 318)])
158
+
159
+ diamond(c, center, 210, 174, 60, "Targets and constraints met?")
160
+ arrow(c, [(center, 268), (center, 240)])
161
+
162
+ box(c, main_x, 116, main_w, 48, "Validate final design", "Run the chosen simulation again", size=9)
163
+ arrow(c, [(center, 180), (center, 164)], color=GREEN_LINE, label="Yes", label_at=(center + 22, 169))
164
+ box(c, main_x, 42, main_w, 48, "Save results and plot convergence", "Optimized chip design", fill=GREEN, stroke=GREEN_LINE, size=8.7)
165
+ arrow(c, [(center, 116), (center, 90)], color=GREEN_LINE)
166
+
167
+ update_x = W - 244
168
+ box(c, update_x, 186, 180, 48, "Update Qiskit Metal design", "Apply new variables and rebuild", size=8.2)
169
+ arrow(c, [(center + 87, 210), (update_x, 210)], color=RED, label="No", label_at=(center + 112, 220))
170
+ arrow(c, [(update_x + 180, 210), (W - 34, 210), (W - 34, 781), (main_x + main_w, 781)], color=RED)
171
+
172
+ c.save()
173
+ print(OUT)
@@ -0,0 +1,179 @@
1
+ from reportlab.lib.colors import HexColor, white
2
+ from reportlab.lib.pagesizes import A3
3
+ from reportlab.pdfgen import canvas
4
+ from reportlab.lib.utils import simpleSplit
5
+ from pathlib import Path
6
+ import math
7
+
8
+ OUT = Path("output/pdf/qdesignoptimizer_design_flow_opensource_portrait.pdf")
9
+ OUT.parent.mkdir(parents=True, exist_ok=True)
10
+ W, H = A3
11
+ TEXT = HexColor("#20252B")
12
+ GRAY = HexColor("#F7F8FA")
13
+ STROKE = HexColor("#68727D")
14
+ BLUE = HexColor("#EAF3FF")
15
+ BLUE_LINE = HexColor("#4A90E2")
16
+ YELLOW = HexColor("#FFF4D6")
17
+ YELLOW_LINE = HexColor("#D79B00")
18
+ PURPLE = HexColor("#EDE7F6")
19
+ PURPLE_LINE = HexColor("#7E57C2")
20
+ GREEN = HexColor("#E8F5E9")
21
+ GREEN_LINE = HexColor("#43A047")
22
+ RED = HexColor("#E5533D")
23
+ ARROW = HexColor("#59636E")
24
+
25
+ def lines(text, font, size, width):
26
+ return simpleSplit(text, font, size, width)
27
+
28
+ def text(c, value, x, y, width, font="Helvetica", size=8, leading=10):
29
+ ls = lines(value, font, size, width)
30
+ c.setFillColor(TEXT)
31
+ c.setFont(font, size)
32
+ for i, line in enumerate(ls):
33
+ c.drawCentredString(x + width / 2, y - i * leading, line)
34
+ return len(ls) * leading
35
+
36
+ def box(c, x, y, w, h, title, detail="", fill=GRAY, stroke=STROKE, size=9):
37
+ c.setFillColor(fill)
38
+ c.setStrokeColor(stroke)
39
+ c.setLineWidth(1.3)
40
+ c.roundRect(x, y, w, h, 7, fill=1, stroke=1)
41
+ tl = lines(title, "Helvetica-Bold", size, w - 14)
42
+ dl = lines(detail, "Helvetica", 7.2, w - 14) if detail else []
43
+ total = len(tl) * (size + 1) + (5 + len(dl) * 8 if dl else 0)
44
+ top = y + (h + total) / 2 - size
45
+ text(c, title, x + 7, top, w - 14, "Helvetica-Bold", size, size + 1)
46
+ if dl:
47
+ text(c, detail, x + 7, top - len(tl) * (size + 1) - 4, w - 14, "Helvetica", 7.2, 8)
48
+
49
+ def diamond(c, cx, cy, w, h, label):
50
+ c.setFillColor(YELLOW)
51
+ c.setStrokeColor(YELLOW_LINE)
52
+ c.setLineWidth(1.5)
53
+ p = c.beginPath()
54
+ p.moveTo(cx, cy + h / 2)
55
+ p.lineTo(cx + w / 2, cy)
56
+ p.lineTo(cx, cy - h / 2)
57
+ p.lineTo(cx - w / 2, cy)
58
+ p.close()
59
+ c.drawPath(p, fill=1, stroke=1)
60
+ text(c, label, cx - w / 2 + 12, cy + 4, w - 24, "Helvetica-Bold", 8, 10)
61
+
62
+ def arrow(c, pts, color=ARROW, label=None, label_at=None):
63
+ c.setStrokeColor(color)
64
+ c.setFillColor(color)
65
+ c.setLineWidth(1.3)
66
+ p = c.beginPath()
67
+ p.moveTo(*pts[0])
68
+ for pt in pts[1:]:
69
+ p.lineTo(*pt)
70
+ c.drawPath(p, stroke=1, fill=0)
71
+ x1, y1 = pts[-2]
72
+ x2, y2 = pts[-1]
73
+ a = math.atan2(y2 - y1, x2 - x1)
74
+ s = 7
75
+ c.line(x2, y2, x2 + s * math.cos(a + 2.65), y2 + s * math.sin(a + 2.65))
76
+ c.line(x2, y2, x2 + s * math.cos(a - 2.65), y2 + s * math.sin(a - 2.65))
77
+ if label and label_at:
78
+ c.setFillColor(color)
79
+ c.setFont("Helvetica-Bold", 8)
80
+ c.drawCentredString(*label_at, label)
81
+
82
+ def connector(c, pts, color=ARROW, width=1.3):
83
+ c.setStrokeColor(color)
84
+ c.setLineWidth(width)
85
+ p = c.beginPath()
86
+ p.moveTo(*pts[0])
87
+ for pt in pts[1:]:
88
+ p.lineTo(*pt)
89
+ c.drawPath(p, stroke=1, fill=0)
90
+
91
+ def section(c, x, y, w, h, title):
92
+ c.setFillColor(BLUE)
93
+ c.setStrokeColor(BLUE_LINE)
94
+ c.setLineWidth(1.2)
95
+ c.roundRect(x, y, w, h, 9, fill=1, stroke=1)
96
+ c.setFillColor(BLUE_LINE)
97
+ c.setFont("Helvetica-Bold", 11)
98
+ c.drawString(x + 12, y + h - 18, title)
99
+
100
+ c = canvas.Canvas(str(OUT), pagesize=A3)
101
+ c.setTitle("QDesignOptimizer Open-Source Design Flow")
102
+ c.setAuthor("QDesignOptimizer")
103
+ c.setFillColor(white)
104
+ c.rect(0, 0, W, H, fill=1, stroke=0)
105
+ margin = 48
106
+ center = W / 2
107
+ main_w = 250
108
+ main_x = center - main_w / 2
109
+
110
+ c.setFillColor(TEXT)
111
+ c.setFont("Helvetica-Bold", 22)
112
+ c.drawString(margin, H - 42, "QDesignOptimizer Open-Source Design Flow")
113
+ c.setFont("Helvetica", 10)
114
+ c.setFillColor(STROKE)
115
+ c.drawString(margin, H - 60, "Fully open-source stack: identical on macOS and Linux (Windows runs Palace via WSL2 or Docker)")
116
+
117
+ box(c, center - 75, 1076, 150, 42, "Start optimization project", size=9)
118
+ arrow(c, [(center, 1076), (center, 1048)])
119
+ box(c, main_x, 998, main_w, 50, "Project setup", "A Qiskit Metal design project (Apache-2.0)", fill=BLUE, stroke=BLUE_LINE)
120
+ arrow(c, [(center, 998), (center, 986)])
121
+
122
+ section(c, 60, 836, W - 120, 150, "1. Problem formulation")
123
+ cards = [
124
+ (77, "design.py", "Qiskit Metal chip layout"),
125
+ (217, "design_variables.json", "Initial geometry and junction values"),
126
+ (357, "parameter_targets.py", "Desired frequencies, kappa, chi, T1"),
127
+ (497, "optimization_targets.py", "Physical parameter-variable relations"),
128
+ (637, "mini_studies.py", "Palace study, ports, and Gmsh mesh settings"),
129
+ ]
130
+ for x, title, detail in cards:
131
+ box(c, x, 871, 128, 72, title, detail, fill=white, stroke=BLUE_LINE, size=8.1)
132
+ arrow(c, [(center, 836), (center, 800)])
133
+ box(c, main_x, 756, main_w, 44, "Render chip in Qiskit Metal", "Build the current geometry")
134
+ arrow(c, [(center, 756), (center, 734)])
135
+ box(c, main_x, 690, main_w, 44, "Mesh geometry with Gmsh", "Export via SQDMetal to a FEM mesh (GPL)")
136
+ arrow(c, [(center, 690), (center, 662)])
137
+ diamond(c, center, 634, 150, 56, "Simulation path")
138
+
139
+ left_x = 110
140
+ right_x = W - 330
141
+ box(c, left_x, 546, 220, 48, "Palace eigenmode simulation", "Resonant modes and EM fields (Apache-2.0)", size=8.6)
142
+ box(c, right_x, 546, 220, 48, "Palace electrostatic simulation", "Capacitance matrix and coupling (Apache-2.0)", size=8.6)
143
+ arrow(c, [(center, 606), (center, 598), (left_x + 110, 598), (left_x + 110, 594)], label="Eigenmode", label_at=(center - 92, 602))
144
+ arrow(c, [(center, 606), (center, 598), (right_x + 110, 598), (right_x + 110, 594)], label="Capacitance", label_at=(center + 92, 602))
145
+
146
+ box(c, left_x, 470, 220, 48, "Energy participation analysis", "EPR from Palace fields (SQDMetal, scqubits)", size=8.4)
147
+ box(c, right_x, 470, 220, 48, "Capacitance and decay analysis", "Estimate kappa, T1, or capacitance", size=8.4)
148
+ arrow(c, [(left_x + 110, 546), (left_x + 110, 518)])
149
+ arrow(c, [(right_x + 110, 546), (right_x + 110, 518)])
150
+
151
+ box(c, main_x, 382, main_w, 48, "Extract current quantum parameters", "Frequencies, chi, anharmonicity, kappa, T1, and capacitance", size=8.7)
152
+ connector(c, [(left_x + 110, 470), (left_x + 110, 449), (center, 449)])
153
+ connector(c, [(right_x + 110, 470), (right_x + 110, 449), (center, 449)])
154
+ arrow(c, [(center, 449), (center, 430)])
155
+
156
+ box(c, main_x, 310, main_w, 48, "ANModOptimizer", "Uses targets and physical relations to solve the approximate model", fill=PURPLE, stroke=PURPLE_LINE, size=10)
157
+ arrow(c, [(center, 382), (center, 358)])
158
+ box(c, main_x, 238, main_w, 48, "Propose updated design variables", "Respect constraints and adjustment rate")
159
+ arrow(c, [(center, 310), (center, 286)])
160
+
161
+ diamond(c, center, 186, 174, 56, "Targets and constraints met?")
162
+ arrow(c, [(center, 238), (center, 214)])
163
+
164
+ box(c, main_x, 104, main_w, 44, "Validate final design", "Run the chosen Palace simulation again", size=9)
165
+ arrow(c, [(center, 158), (center, 148)], color=GREEN_LINE, label="Yes", label_at=(center + 22, 151))
166
+ box(c, main_x, 40, main_w, 44, "Save results and plot convergence", "Optimized chip design", fill=GREEN, stroke=GREEN_LINE, size=8.7)
167
+ arrow(c, [(center, 104), (center, 84)], color=GREEN_LINE)
168
+
169
+ update_x = W - 244
170
+ box(c, update_x, 162, 180, 48, "Update Qiskit Metal design", "Apply new variables and rebuild", size=8.2)
171
+ arrow(c, [(center + 87, 186), (update_x, 186)], color=RED, label="No", label_at=(center + 112, 196))
172
+ arrow(c, [(update_x + 180, 186), (W - 34, 186), (W - 34, 778), (main_x + main_w, 778)], color=RED)
173
+
174
+ c.setFillColor(STROKE)
175
+ c.setFont("Helvetica", 7.5)
176
+ c.drawCentredString(center, 20, "All tools open source: Qiskit Metal (Apache-2.0), Gmsh (GPL), Palace (Apache-2.0), SQDMetal (BSD-3), scqubits / QuTiP (BSD), QDesignOptimizer")
177
+
178
+ c.save()
179
+ print(OUT)
@@ -0,0 +1,74 @@
1
+ %PDF-1.4
2
+ %���� ReportLab Generated PDF document (opensource)
3
+ 1 0 obj
4
+ <<
5
+ /F1 2 0 R /F2 3 0 R
6
+ >>
7
+ endobj
8
+ 2 0 obj
9
+ <<
10
+ /BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
11
+ >>
12
+ endobj
13
+ 3 0 obj
14
+ <<
15
+ /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
16
+ >>
17
+ endobj
18
+ 4 0 obj
19
+ <<
20
+ /Contents 8 0 R /MediaBox [ 0 0 841.8898 1190.551 ] /Parent 7 0 R /Resources <<
21
+ /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
22
+ >> /Rotate 0 /Trans <<
23
+
24
+ >>
25
+ /Type /Page
26
+ >>
27
+ endobj
28
+ 5 0 obj
29
+ <<
30
+ /PageMode /UseNone /Pages 7 0 R /Type /Catalog
31
+ >>
32
+ endobj
33
+ 6 0 obj
34
+ <<
35
+ /Author (QDesignOptimizer) /CreationDate (D:20260825110331+03'00') /Creator (anonymous) /Keywords () /ModDate (D:20260825110331+03'00') /Producer (ReportLab PDF Library - \(opensource\))
36
+ /Subject (unspecified) /Title (QDesignOptimizer Design Flow) /Trapped /False
37
+ >>
38
+ endobj
39
+ 7 0 obj
40
+ <<
41
+ /Count 1 /Kids [ 4 0 R ] /Type /Pages
42
+ >>
43
+ endobj
44
+ 8 0 obj
45
+ <<
46
+ /Filter [ /ASCII85Decode /FlateDecode ] /Length 4300
47
+ >>
48
+ stream
49
+ GauHO=d.XL&Up?ZJ]G^:@;m<68]?ONUagP(CQkb\\`d12QSRan*0N4p52?2>2E8&:8k[4)nt88g%J86gJ/+$\58!q1hD"Zb/c5K^_1Z@.Djet3B".eJYARE<"of),X)2\<[:m2`Sd?!R@gmbMf\8&[NK?U7ed-+PHu4Q0<]]R`#F8''JYaq#6bO=^co@QhEOaa4qouU"l&P`@p7M4\^ZkdQ*E]&hlXBPH\*Wf/]DZ1Y+gT<:bAnT3dG0#L=JN:a#$B<)MdT%UW[SZ9;gu&7S.9Cc@_;BjiI0U3p]GlT4)E20Hg97_4kt7Zise*DWTJr+pNQDo/i!(64nS+P6O-?>m2_9U+$ZrQ>8ZeBgTEWTG8&Ee1r6"_$_FCAOi+)as6d'@d4"]s[9Y4+S"QIEi6JXQ8pa@t@ASTm4GY0.3gfIq1d]RsYLn.YdI:N051-t3N_SO?iRp%,;JX,Yd_e]Acu<VsU6V;Z7OnUbf9DbUdYZdo4BtUop@[]Zp#S!&(Eu%fj"HOmXDP'5)EnB@Ja`ks%4FcoCJXnHbP$_I]5E%k&d5YQA<$.d.K`RH690`tHK#;d1Wkbmaf51dX`4U'e8:iggZV,lJ64bA&Inr_Y-o"HYlLK/>n_mt)Y%EMd%`W\1*N\Qn;5&da'CJ9deL?,!Od-W1<NDRYVLOC"d3J\)]'n]>%'ZoK[q@@T'1uh10e'VR4D2$M3W(EA14Y^>)(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+9U.2?\PD,*h<KJS;&LO%97'[87_#KJZ5j4;B;dEdEJpdaljY0ar*Jc[IOaq4/RsT>)3:lh=3VgLiM(<T)&hKQRRoLa?\\rVToKXNem/PL%;(+/u0tk]$h+TYE/"ia3hD<J+<<DIX=am^!$^`5+W)gDrWoi5*>Um<Mope,i^]?oPLt:;bbJ_$7Y#[ogC:$+23cQ8VN^\riG/W@QfkKb#kGA6mPKoO#5D.R-Opma?[hjBc.Bs;Q]cjka'?GphR'H^trbnn9HGG9hL2hTAs1%l+Ys-*T\1L4^ce`?b>_"_^!oZ+/W.!C=]*U!M;*nWI;\k`%m/QRGp5[p[p0Bh,P/u+i4d.hGk<!&E'qbcQL/N5+1p=A2?Cj;FZ1$aj2X:!@'m?"@dns?0QaM>A+BkE(A2:Vctj;cD*1b*q=K;2i(MNb4,s7,TSBCJ%Cosdk7rVrrDStm`k~>endstream
50
+ endobj
51
+ xref
52
+ 0 9
53
+ 0000000000 65535 f
54
+ 0000000061 00000 n
55
+ 0000000102 00000 n
56
+ 0000000209 00000 n
57
+ 0000000321 00000 n
58
+ 0000000524 00000 n
59
+ 0000000592 00000 n
60
+ 0000000880 00000 n
61
+ 0000000939 00000 n
62
+ trailer
63
+ <<
64
+ /ID
65
+ [<fcbf56e7fb3cee579be603e7960c0999><fcbf56e7fb3cee579be603e7960c0999>]
66
+ % ReportLab generated PDF document -- digest (opensource)
67
+
68
+ /Info 6 0 R
69
+ /Root 5 0 R
70
+ /Size 9
71
+ >>
72
+ startxref
73
+ 5330
74
+ %%EOF
@@ -0,0 +1,74 @@
1
+ %PDF-1.4
2
+ %���� ReportLab Generated PDF document (opensource)
3
+ 1 0 obj
4
+ <<
5
+ /F1 2 0 R /F2 3 0 R
6
+ >>
7
+ endobj
8
+ 2 0 obj
9
+ <<
10
+ /BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
11
+ >>
12
+ endobj
13
+ 3 0 obj
14
+ <<
15
+ /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
16
+ >>
17
+ endobj
18
+ 4 0 obj
19
+ <<
20
+ /Contents 8 0 R /MediaBox [ 0 0 841.8898 1190.551 ] /Parent 7 0 R /Resources <<
21
+ /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
22
+ >> /Rotate 0 /Trans <<
23
+
24
+ >>
25
+ /Type /Page
26
+ >>
27
+ endobj
28
+ 5 0 obj
29
+ <<
30
+ /PageMode /UseNone /Pages 7 0 R /Type /Catalog
31
+ >>
32
+ endobj
33
+ 6 0 obj
34
+ <<
35
+ /Author (QDesignOptimizer) /CreationDate (D:20260826120043+03'00') /Creator (anonymous) /Keywords () /ModDate (D:20260826120043+03'00') /Producer (ReportLab PDF Library - \(opensource\))
36
+ /Subject (unspecified) /Title (QDesignOptimizer Open-Source Design Flow) /Trapped /False
37
+ >>
38
+ endobj
39
+ 7 0 obj
40
+ <<
41
+ /Count 1 /Kids [ 4 0 R ] /Type /Pages
42
+ >>
43
+ endobj
44
+ 8 0 obj
45
+ <<
46
+ /Filter [ /ASCII85Decode /FlateDecode ] /Length 4706
47
+ >>
48
+ stream
49
+ GauHO>E@;o&q3'[_N2p@ai&CM?<4;GBI0#H\p$Xp+cS7T"!,InbXi;kqs1`6Ng"M[1t0f[6-q7)Yq)u\>SgI_<l/2bra0R\H[NYYI)[$?m,BVWW_i'A3I?(WJhHhFGdlC]Thb-p3U[gJ^+?XG7l>Yj[oL7u<h:%2kn9R'gc-N0^)&+39SA7V)(1/f54G4a3p"5#(E<)+eW[R[hJIbupW]T2Dgc$.md'8XoA/r@Y$$.lT!c1+5Hp(?m,Ds$Ck;O?YV1_g$<:9-,V,+bV$?XX0=a"D>M8SQ*1).uCtia6__o'9B%L,M%mR>]ZJP<"\n]o9b;RoIf5ju00A5r/Hi2+E4SZ&3?LC""lu:a'lt+^JnE.cg@_\Hu(Mn;':Nl%7p#4.+K^HXsI4Dmhqr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$pONZ=Vm+V@(REHO,n"tM!s)RM3t=P!5Fek^U+)HJB%*:#f`8,Qeau40L7pBmRk%o'5=_UP#T'HA1=i;pi6hh2NJb3Ie`<**1qEEbJ/uR6);C.S[]\kj]mW6U7_@^`U]C%gP'"`AF\8.J'('I?a?8W&tW&kF-_38q4P"fk08P!k>*-klq<Zrlppd7GgX0_cg]'S(KH=9f]mr<3p'Z~>endstream
50
+ endobj
51
+ xref
52
+ 0 9
53
+ 0000000000 65535 f
54
+ 0000000061 00000 n
55
+ 0000000102 00000 n
56
+ 0000000209 00000 n
57
+ 0000000321 00000 n
58
+ 0000000524 00000 n
59
+ 0000000592 00000 n
60
+ 0000000892 00000 n
61
+ 0000000951 00000 n
62
+ trailer
63
+ <<
64
+ /ID
65
+ [<b4be0217ca8d4b0f85b1fcff0aec009f><b4be0217ca8d4b0f85b1fcff0aec009f>]
66
+ % ReportLab generated PDF document -- digest (opensource)
67
+
68
+ /Info 6 0 R
69
+ /Root 5 0 R
70
+ /Size 9
71
+ >>
72
+ startxref
73
+ 5748
74
+ %%EOF
@@ -0,0 +1,27 @@
1
+ [project]
2
+ name = "joqed"
3
+ version = "0.0.1"
4
+ description = "JoQED - design flow for superconducting quantum chips and their control circuits"
5
+ authors = [{ name = "Roman Klimovich" }]
6
+ license = { text = "Apache-2.0" }
7
+ readme = "README.md"
8
+ requires-python = ">=3.11"
9
+ keywords = ["quantum", "EDA", "superconducting", "qubit", "design-flow", "circuit-QED"]
10
+ classifiers = [
11
+ "Development Status :: 1 - Planning",
12
+ "Intended Audience :: Science/Research",
13
+ "License :: OSI Approved :: Apache Software License",
14
+ "Programming Language :: Python :: 3",
15
+ "Topic :: Scientific/Engineering :: Physics",
16
+ ]
17
+
18
+ [project.urls]
19
+ Homepage = "https://github.com/joqed/joqed"
20
+ Repository = "https://github.com/joqed/joqed"
21
+
22
+ [build-system]
23
+ requires = ["hatchling"]
24
+ build-backend = "hatchling.build"
25
+
26
+ [tool.hatch.build.targets.wheel]
27
+ packages = ["src/joqed"]
@@ -0,0 +1,7 @@
1
+ """JoQED — design flow for superconducting quantum chips and their control circuits.
2
+
3
+ Pre-alpha placeholder release reserving the package name. See
4
+ https://github.com/joqed/joqed for the project roadmap.
5
+ """
6
+
7
+ __version__ = "0.0.1"
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+ # Build Palace (https://github.com/awslabs/palace) from tools/palace-src
3
+ # into tools/palace, using Homebrew cmake/open-mpi/gcc(gfortran)/openblas.
4
+ set -euo pipefail
5
+ cd "$(dirname "$0")"
6
+
7
+ export PATH="/opt/homebrew/bin:$PATH"
8
+ GFORTRAN=$(ls /opt/homebrew/bin/gfortran* 2>/dev/null | head -1)
9
+
10
+ mkdir -p palace-build
11
+ cd palace-build
12
+ cmake ../palace-src \
13
+ -DCMAKE_INSTALL_PREFIX="$(pwd)/../palace" \
14
+ -DCMAKE_BUILD_TYPE=Release \
15
+ -DCMAKE_Fortran_COMPILER="$GFORTRAN" \
16
+ -DBLA_VENDOR=OpenBLAS \
17
+ -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/openblas"
18
+ make -j "$(sysctl -n hw.ncpu)"
19
+ echo "PALACE BUILD COMPLETE"