Add fluxonium modelling and transmon–fluxonium comparison to scqubits notebook#434
Draft
Copilot wants to merge 5 commits into
Draft
Add fluxonium modelling and transmon–fluxonium comparison to scqubits notebook#434Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
… notebook Agent-Logs-Url: https://github.com/gdsfactory/quantum-rf-pdk/sessions/6604d657-9048-4bfc-b515-aa48e51bfa15 Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gdsfactory/quantum-rf-pdk/sessions/6604d657-9048-4bfc-b515-aa48e51bfa15 Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
nikosavola
March 31, 2026 17:01
View session
Contributor
Reviewer's GuideExtends the scqubits parameter calculation notebook from a transmon-only dispersive-shift analysis into a four-part transmon–fluxonium modelling and design workflow, adding fluxonium spectrum/flux dependence, numerical dispersive shift extraction, side-by-side transmon–fluxonium comparisons, and fluxonium circuit parameter extraction, while updating the executable .py export, bibliography, and notebook docs accordingly. Sequence diagram for fluxonium–resonator dispersive-shift computation with scqubitssequenceDiagram
actor User
participant Notebook
participant Fluxonium as scq_Fluxonium
participant Oscillator as scq_Oscillator
participant Hilbert as scq_HilbertSpace
participant Interaction as scq_InteractionTerm
User->>Notebook: Set_fluxonium_energies_EJ_flx_EC_flx_EL_flx_and_flux
Notebook->>Fluxonium: create(EJ_flx,EC_flx,EL_flx,flux,cutoff,truncated_dim)
Fluxonium-->>Notebook: fluxonium_instance
User->>Notebook: Choose_resonator_frequency_omega_r_flx_and_coupling_g_flx
Notebook->>Oscillator: create(E_osc=omega_r_flx,truncated_dim)
Oscillator-->>Notebook: resonator_flx_instance
Notebook->>Hilbert: create([fluxonium_instance,resonator_flx_instance])
Hilbert-->>Notebook: hilbert_space_flx
Notebook->>Oscillator: annihilation_operator()
Oscillator-->>Notebook: a_operator
Notebook->>Oscillator: creation_operator()
Oscillator-->>Notebook: adag_operator
Notebook->>Notebook: build_a_plus_adag_operator
Notebook->>Fluxonium: n_operator()
Fluxonium-->>Notebook: n_op
Notebook->>Interaction: create(g_strength=g_flx, operator_list=[(0,n_op),(1,a_plus_adag)])
Interaction-->>Notebook: interaction_flx
Notebook->>Hilbert: set_interaction_list([interaction_flx])
Notebook->>Hilbert: eigensys(evals_count=20)
Hilbert-->>Notebook: evals_flx_evecs_flx
Notebook->>Notebook: construct_bare_basis_vectors_and_find_dressed_indices
Notebook->>Notebook: compute_E00_E01_E10_E11
Notebook->>Notebook: chi_flx=(E11-E10)-(E01-E00)
Notebook-->>User: Display_fluxonium_resonator_dispersive_shift_chi_flx
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the scqubits notebook with fluxonium qubit analysis and a side-by-side comparison to the transmon, leveraging the existing
fluxoniumlayout cell andscq.Fluxonium.Notebook restructure
Renamed to "Transmon and Fluxonium Parameter Analysis with scQubits" and organized into four parts:
Bibliography
docs/notebooks.rst
Updated notebook description and Hamiltonian analysis use cases to reflect fluxonium coverage.
Summary by Sourcery
Extend the scQubits parameter-analysis notebook to cover both transmon and fluxonium qubits, including comparative analysis and design workflows for each modality.
New Features:
Enhancements:
Documentation: