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