qdesignoptimizer.utils.names_qiskit_components module
Naming utilities for mapping between modes and Qiskit Metal component names.
- qdesignoptimizer.utils.names_qiskit_components.QiskitComponentName
A string representing the name of a Qiskit Metal component, by convention starts with ‘name_’
Examples
>>> "name_qubit" >>> "name_resonator_1" >>> "name_coupler_1to2"
- qdesignoptimizer.utils.names_qiskit_components.name_id(identifier: str | int) str [source]
Create a component name from a generic identifier.
- qdesignoptimizer.utils.names_qiskit_components.name_mode(identifier: str) str [source]
Create a component name from a mode identifier.
- qdesignoptimizer.utils.names_qiskit_components.name_mode_to_mode(identifier_1: str, identifier_2: str) str [source]
Create a component name representing a connection between two modes.
- qdesignoptimizer.utils.names_qiskit_components.name_tee(identifier: str | int) str [source]
Create a component name for a tee junction.
- qdesignoptimizer.utils.names_qiskit_components.name_lp(identifier: str | int) str [source]
Create a component name for a launch pad.
- qdesignoptimizer.utils.names_qiskit_components.name_charge_line(identifier: str | int) str [source]
Create a component name for a charge line.
- qdesignoptimizer.utils.names_qiskit_components.name_flux_line(identifier: str | int) str [source]
Create a component name for a flux line.
- qdesignoptimizer.utils.names_qiskit_components.name_lp_to_tee(lp_identifier: str | int, tee_identifier: str | int) str [source]
Create a component name for a connection between a launch pad and tee junction.