-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation and add HuggingFace link to icon links
- Loading branch information
Showing
7 changed files
with
98 additions
and
24 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Simulation Lessons | ||
================== | ||
|
||
This is a guide to the simulation methodologies we have found to be useful in our project. | ||
|
||
ANSYS Simulations | ||
----------------- | ||
|
||
We have found the following practices to be effective in ANSYS simulations: | ||
|
||
- Finer mesh is always better, but as long as the seed mesh is no more than 1/3 the size of a feature it spans, it will converge to a good adaptive mesh. | ||
|
||
- The convergence criteria (Delta-S or Delta-f, depending on the solver) should be less than 0.02%; 0.01% is better. The default (0.2%) never works. | ||
|
||
- There should be a minimum of 1 additional simulation pass after the convergence criteria are met; more is better (but slower). | ||
|
||
- EPR analysis has been quite unreliable for getting coupling strengths, with typical errors above 30%. We use a lumped approach similar to LOM whenever possible, and only use eigenmodal analysis for frequencies and quality factors. | ||
|
||
- We get best results simulating small components separately from each other. | ||
|
||
- Resonator quality factor is never super accurate, but the best approach we've found is to do an eigenmodal analysis of the resonator and feedline (with feedline finely meshed and extending far beyond the coupling region), with the feedline terminated by 50-ohm lumped ports. | ||
|
||
- Each mesh cell can be represented by a constant, linear function, or 2nd-order polynomial. We've found best results with a linear function. | ||
|
||
- *Not strictly simulations, but important for analysis:* The rotating wave approximation can cause one to mis-estimate dispersive shifts by a factor of ~2 if you have far-detuned qubit and cavity. | ||
|
||
Resources | ||
========= | ||
|
||
Some learning resources we've found useful: | ||
|
||
- Ansys Learning Resources: | ||
- `HowToSim YouTube Channel <https://youtube.com/@howtosim7253?feature=shared>`_ | ||
|
||
- `HFSS Tutorial for Axion Cavity Workshop (PDF) <https://indico.fnal.gov/event/13068/contributions/17083/attachments/11439/14607/MJones_-_HFSS_Tutorial_for_Axion_Cavity_Workshop.pdf>`_ | ||
|
||
- `Ansys Courses <https://courses.ansys.com/index.php/electronics/>`_ | ||
|
||
- `Advanced Meshing Techniques (PDF) <http://www.ece.uprm.edu/~rafaelr/inel6068/HFSS/3570_Advanced_Meshing_Techniques.pdf>`_ | ||
|
||
- Ansys Scripting Resources: | ||
- `Ansys Scripting Forum <https://forum.ansys.com/categories/scripting>`_ | ||
|
||
- `GitHub Repository for HowToSim <https://github.com/linmingchih>`_ | ||
|
||
- `HFSS Library <https://arrc.ou.edu/~cody/hfsslib/>`_ | ||
|
||
- `PyANSYS Documentation <https://aedt.docs.pyansys.com/version/stable/>`_ | ||
|
||
- Ansys Parallel Jobs: | ||
- `Using ANSYS RSM <https://www.hpc.iastate.edu/guides/using-ansys-rsm>`_ | ||
|
||
|
||
Get Involved | ||
============ | ||
|
||
We continuously enhance our simulation techniques and strive to maintain the most current information on this webpage. We're eager to understand how closely our methods align with your team's practices and to learn about any challenges you've encountered previously. We welcome your insights and feedback, so please feel free to reach out to us! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
# Bug fixes: | ||
|
||
- [x] fix the autodoc generator workflow | ||
|
||
--- | ||
|
||
# Features to add: | ||
|
||
- [ ] LLM based queries | ||
- [ ] Contribution via HuggingFace Hub API | ||
- [ ] HuggingFace Workflow Action for sending emails upon PR | ||
- [ ] Create automated tests for each version release workflow | ||
- [ ] Standardize the way we handle units for simulated results + impmelent necessary changes in backend | ||
- [ ] add UMAP representation of self.selected_df | ||
- [ ] LLM based queries | ||
- [ ] forced download of data from HuggingFace Hub API | ||
- [ ] change backend calculators to be formula free (dependent on `scqubits` and `sqcircuits`) for analysis | ||
- [ ] NCap Cavities + Coupled Systems analysis features added + update Tutorial 1 (and Simulator) | ||
- [ ] H parameter vs Device parameter analysis modules | ||
|
||
--- | ||
|
||
# Documentation requests: | ||
|
||
- [ ] updated documentation for all code | ||
- [ ] completed contribution tutorials | ||
- [ ] documenting reliable simulation methodologies we have learned and resources | ||
- [ ] tutorial to show how to demo analysis (H params against device params) | ||
|
||
--- | ||
|
||
# Database changes: | ||
|
||
- [ ] More data points to existing configurations | ||
- [ ] Update HF data cards | ||
- [ ] Update HF repo info | ||
|
||
--- | ||
|
||
# Documentation requests: | ||
|
||
- [ ] completed contribution tutorials | ||
- [ ] documenting reliable simulation methodologies we have learned and resources |