Adding a Junction #80
Replies: 2 comments 5 replies
-
I think the problem here is a bit of naming culture in KQCircuits. Normally the import structure is as follows: Note: the character after the 'underscore' is capitalized. If this is not the right file, then adjust it accordingly. |
Beta Was this translation helpful? Give feedback.
-
Maybe this can help (sorry for the delay) Go to Then check out Niko's comment, you should call |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm having some troubles in the insertion of my own junction.
I created a junction geometry and place the .py in the junctions folder. I can see it in the GUI of klayout (Planck SQUID):
By the way once i try to add it inside an other script (for generating a qubit) it print me the default Manhattan junction. How I can I add my own junction?
This is the dummy code I implemented:
![Screenshot from 2024-01-08 15-11-49](https://private-user-images.githubusercontent.com/150356602/294928786-2af0f683-dd32-4438-9c4f-d7ec12533f97.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjY0MzUsIm5iZiI6MTczOTUyNjEzNSwicGF0aCI6Ii8xNTAzNTY2MDIvMjk0OTI4Nzg2LTJhZjBmNjgzLWRkMzItNDQzOC05YzRmLWQ3ZWMxMjUzM2Y5Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwOTQyMTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lODFjYWQzZTE0YjMyN2Y5Y2UwMjhkMTQ5MDcxNWNlMDMwZGY3YmQ5OTgyOWFjNGI3ZTMyODg4NzNjZDIyNTMxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.a-tpNE1ZLrI6QRsN18KB_ACin7F2n7E-pMXnjzw0V8k)
Where PlanckSQUID is the class of my junction.
Beta Was this translation helpful? Give feedback.
All reactions