Skip to content

Commit 3d33d09

Browse files
committed
Port cheesing to GDSTK and remove remaining occurences of GDSPY. Fix qiskit-community#1011
1 parent 96ec6af commit 3d33d09

File tree

9 files changed

+241
-219
lines changed

9 files changed

+241
-219
lines changed

README_developers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ Notice that using the `conda env update` command might introduce inconsistencies
9191
### Setup without conda: in a virtual environment (alternative setup)
9292

9393
#### Prerequisites
94-
The package dependency `gdspy`, needs C++ compilation to successfully install in a base or virtualenv. Make sure the right compiler is installed on your machine if you encounter errors during the installation process described above.
95-
**Windows** you can install the `Visual C++ x.0` using the [C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/). Be sure to select the most current versions of `MSVC` and `Windows SDK`, as suggested in [this wiki](https://wiki.python.org/moin/WindowsCompilers) referenced by the gdspy documentation.
94+
The package dependency `gdstk`, needs C++ compilation to successfully install in a base or virtualenv. Make sure the right compiler is installed on your machine if you encounter errors during the installation process described above.
95+
**Windows** you can install the `Visual C++ x.0` using the [C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/). Be sure to select the most current versions of `MSVC` and `Windows SDK`, as suggested in [this wiki](https://wiki.python.org/moin/WindowsCompilers).
9696
**Linux** on Ubuntu or other Debian based systems, execute the following command `sudo apt-get install gcc g++`. Linux users might encounter other python-related errors during creation of the virtualenv or during qiskit-metal installation. You might be able to deal with those by executing `sudo apt-get install python3-dev python3-venv`. Be sure to customize the `python3` string if you are trying to use a custom installation of python.
9797

9898
#### Install

docs/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ Once inside `JupyterLab`, you can switch to the newly created Metal kernel to us
147147
Without conda: Virtual environment setup (alternative setup)
148148
------------------------------------------------------------
149149

150-
**On Windows, do this first:** It is recommended that you first install `Visual C++ 14.0`, required for a successful install of `gdspy`.
151-
If you do not have `Visual C++ 14.0` installed, you will be notified to install it when `gdspy` attempts to install.
150+
**On Windows, do this first:** It is recommended that you first install `Visual C++ x.0`, required for a successful install of `gdstk`.
151+
If you do not have `Visual C++ x.0` installed, you will be notified to install it when `gdstk` attempts to install.
152152
You can do this by downloading and installing `C++ Build Tools <https://visualstudio.microsoft.com/visual-cpp-build-tools/>`_.
153-
Be sure to select the latest versions of `MSVCv142 - VS 2019 C++ x64/x86 build tools` and `Windows 10 SDK` in the installer as suggested in `this wiki <https://wiki.python.org/moin/WindowsCompilers>`_ referenced by the gdspy documentation.
153+
Be sure to select the latest versions of `MSVC` and `Windows SDK` in the installer as suggested in `this wiki <https://wiki.python.org/moin/WindowsCompilers>`_.
154154

155155
To use a Python virtual environment, execute these commands in the top-level of the repository:
156156

docs/tut/3-Renderers/3.2-Export-your-design-to-GDS.ipynb

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

qiskit_metal/designs/design_flipchip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def add_chip_info(self):
6464
parser for "self.p" for design base. For now, just hard code in
6565
something.
6666
67-
# GDSPY is using numbers based on 1 meter unit.
67+
# GDSTK is using numbers based on 1 meter unit.
6868
# When the gds file is exported, data is converted to "user-selected" units.
6969
# centered at (0,0) and 9 by 6 size.
7070

qiskit_metal/designs/design_multiplanar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _add_layer_stack(self) -> LayerStackHandler:
7979
def _add_chip_info(self):
8080
"""Used to determine size of fill box by either 'size' data or box_plus_buffer.
8181
82-
GDSPY is using numbers based on 1 meter unit.
82+
GDSTK is using numbers based on 1 meter unit.
8383
When the gds file is exported, data is converted to "user-selected" units.
8484
centered at (0,0) and 9 by 6 size.
8585

qiskit_metal/designs/design_planar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def add_chip_info(self):
5353
parser for "self.p" for design base. For now, just hard code in
5454
something.
5555
56-
# GDSPY is using numbers based on 1 meter unit.
56+
# GDSTK is using numbers based on 1 meter unit.
5757
# When the gds file is exported, data is converted to "user-selected" units.
5858
# centered at (0,0) and 9 by 6 size.
5959

0 commit comments

Comments
 (0)