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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODc4NjEsIm5iZiI6MTczOTE4NzU2MSwicGF0aCI6Ii8xNTAzNTY2MDIvMjk0OTI4Nzg2LTJhZjBmNjgzLWRkMzItNDQzOC05YzRmLWQ3ZWMxMjUzM2Y5Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQxMTM5MjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZjU5NDVlNDc5YWI4Y2IzZGJhYTNlYzZmMmU1M2RlZGZjMmE4YmFiZTkwZjgzYzhlZWZlN2YxNWMwMWM3ZTk1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.U7A9i5q0QXiE5R3Zq_4fbgZB_M2w7whTmiad1JG_wq0)
Where PlanckSQUID is the class of my junction.
Beta Was this translation helpful? Give feedback.
All reactions