Skip to content

Adding externally created OASIS file as object within the chip level #83

Answered by qpavsmi
zachparrott asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Sorry for the delay in response.

There are many way to achieve what you want, but I think this approach fits your workflow the best.

Assuming you have qubit geometry saved in external .oas file. It helps if the file name and the name of the "Top cell" when file is loaded in KLayout is one and the same. I have a qubit named "somequbit.oas" and in this screenshot I opened the file in KLayout, you should see that the top cell has same string as the file name

Now place the file in the klayout_package/python/kqcircuits/qubits folder, among other qubits.

Then in your chip class code you are able to place the qubit using this kind of code:

from kqcircuits.chips.chip import Chip
from kqcircu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zachparrott
Comment options

Answer selected by zachparrott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants