Skip to content

Commit 82e0fc5

Browse files
Rename resonator folder and add missing __init__.py file (#1009)
* Fix typos and remove unused imports * Missing __init__.py file in resonator * Rename folder resonator -> resonators * Fix typos * Fix backslash escaping error in sketch
1 parent c1ed7c8 commit 82e0fc5

32 files changed

+57
-46
lines changed

docs/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Qiskit Metal Overview
103103
* - Components
104104
- This is a user interface for the design._components dict. The keys are unique integers, however, this interface allows user to treat the keys as strings. Set up variables and logger which are used to emulate a dict which is referencing design._components.
105105
* - DesignPlanar
106-
- Metal class for a planar (2D) design, consisting of a single plane chip. Typically assumed to have some CPW geometires.
106+
- Metal class for a planar (2D) design, consisting of a single plane chip. Typically assumed to have some CPW geometries.
107107
* - QDesign
108108
- QDesign is the base class for Qiskit Metal Designs. A design is the most top-level object in all of Qiskit Metal. Create a new Metal QDesign.
109109
* - QNet

docs/tut/1-Overview/1.1-Bird's-eye-view-of-Qiskit-Metal.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@
567567
"metadata": {},
568568
"outputs": [],
569569
"source": [
570-
"gui.rebuild() # Update the component geoemtry, since we changed the options\n",
570+
"gui.rebuild() # Update the component geometry, since we changed the options\n",
571571
"\n",
572572
"# Get a list of all the qcomponents in QDesign and then zoom on them.\n",
573573
"all_component_names = design.components.keys()\n",

docs/tut/1-Overview/1.2-Quick-start.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
"q1.options.pad_width = '250 um'\n",
343343
"q1.options.pad_gap = '50 um'\n",
344344
"\n",
345-
"# Update the geoemtry, since we changed the options\n",
345+
"# Update the geometry, since we changed the options\n",
346346
"gui.rebuild()"
347347
]
348348
},

docs/tut/2-From-components-to-chip/2.01-How-to-use-a-QComponent.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@
313313
"q1.options.pad_height = '250 um'\n",
314314
"q1.options.pad_width = '300 um'\n",
315315
"\n",
316-
"# Update the geoemtry and render to the gui, since we changed the options\n",
316+
"# Update the geometry and render to the gui, since we changed the options\n",
317317
"gui.rebuild()"
318318
]
319319
},

qiskit_metal/designs/design_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,8 +805,8 @@ def parse_value(self, value: Union[Any, List, Dict, Iterable]) -> Any:
805805
Returns the number as is. Int to int, etc.
806806
807807
808-
Arithemetic:
809-
Some basic arithemetic can be handled as well, such as `'-2 * 1e5 nm'`
808+
Arithmetic:
809+
Some basic arithmetic can be handled as well, such as `'-2 * 1e5 nm'`
810810
will yield float(-0.2) when the default units are set to `mm`.
811811
812812
Default units:

qiskit_metal/designs/design_flipchip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
class DesignFlipChip(QDesign):
3131
"""Metal class for a flipchip design, consisting of two chips with their device sides facing each other.
32-
Typically assumed to have some CPW geometires.
32+
Typically assumed to have some CPW geometries.
3333
3434
Inherits QDesign class.
3535
"""

qiskit_metal/designs/design_planar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class DesignPlanar(QDesign):
2828
"""Metal class for a planar (2D) design, consisting of a single plane chip.
29-
Typically assumed to have some CPW geometires.
29+
Typically assumed to have some CPW geometries.
3030
3131
Inherits QDesign class.
3232
"""

qiskit_metal/qlibrary/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
from .qubits.transmon_pocket_teeth import TransmonPocketTeeth
191191
from .qubits.SQUID_loop import SQUID_LOOP
192192
from .qubits.star_qubit import StarQubit
193-
from .resonator.readoutres_fc import ReadoutResFC
194-
from .resonator.resonator_lumped import ResonatorLumped
193+
from .resonators.readoutres_fc import ReadoutResFC
194+
from .resonators.resonator_lumped import ResonatorLumped
195195

196196
from .tlines import anchored_path

qiskit_metal/qlibrary/core/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def parse_value(
768768
Returns the number as is. Int to int, etc.
769769
770770
771-
Arithemetic:
771+
Arithmetic:
772772
Some basic arithmetic can be handled as well, such as `'-2 * 1e5 nm'`
773773
will yield float(-0.2) when the default units are set to `mm`.
774774

qiskit_metal/qlibrary/lumped/resonator_coil_rect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ResonatorCoilRect(QComponent):
6969
modified by the code based on the total length inputed."""
7070

7171
def make(self):
72-
"""The make function implements the logic that creates the geoemtry
72+
"""The make function implements the logic that creates the geometry
7373
(poly, path, etc.) from the qcomponent.options dictionary of
7474
parameters, and the adds them to the design, using
7575
qcomponent.add_qgeometry(...), adding in extra needed information, such
@@ -85,7 +85,7 @@ def make(self):
8585
(2 * n - 1))
8686

8787
if x_n <= p.gap + p.line_width:
88-
self._error_message = f'Inputted values results in the width of the spiral being too small.'
88+
self._error_message = 'Inputted values results in the width of the spiral being too small.'
8989
self.logger.warning(self._error_message)
9090
return
9191

0 commit comments

Comments
 (0)