qiskit-community / qiskit-metal

Quantum Hardware Design. Open-source project for engineers and scientists to design superconducting quantum devices with ease.
https://qiskit-community.github.io/qiskit-metal/
Apache License 2.0
270 stars 201 forks source link

cpw_gap bug in rendering qiskit-metal design to GDS file. #922

Closed patrick612 closed 1 year ago

patrick612 commented 1 year ago

Information

What is the current behavior?

The cpw_gap does not render correctly when exported to GDS. Specifically, although the fillet of the trace is there, cpw_gap has no fillet and has square edges. Furthermore, the width of cpw_gap seems to have doubled when rendered on GDS.

Steps to reproduce the problem

Make any circuits with cpw or any elements with etched gap, then export the qiskit-metal design to a GDS file.

What is the expected behavior?

It is expected to see the fillet and correct width on etched gap of design elements like cpw.

EDIT:

I have tried using the updated version of qiskit-metal(0.1.2) to see if the above issue is resolved. The code I used to replicate the issue was taken from a "Simple CPW Meander" example given in the link: https://qiskit.org/documentation/metal/circuit-examples/B.Resonators/11-Resonator_Meander.html code:

Screen Shot 2023-03-02 at 1 08 06 PM

The code gives me the following rendered image on GUI:

Screen Shot 2023-03-02 at 1 04 22 PM

When I exported this design to GDS, I used set of default options:

Screen Shot 2023-03-02 at 1 07 24 PM

But after exporting to GDS, the design looks like:

Screen Shot 2023-03-02 at 1 04 06 PM

The grey cpw_gap of cpw_meander still renders as sharp edged box on GDS. Updating the qiskit-metal module does not seem to resolve this issue

Suggested solutions

priti-ashvin-shah-ibm commented 1 year ago

That is the keep-out region for cheesing. There is an option called view_in_file which is true. Can you change that to False and try again? image

priti-ashvin-shah-ibm commented 1 year ago

If that doesn't work, can you copy/paste the code you used? To duplicate your situation. I don't want to re-type your code.

patrick612 commented 1 year ago

Changing the view_in_file to False in the no_cheese options worked!! Thank you!

priti-ashvin-shah-ibm commented 1 year ago

Super. I will close this issue.