scqubits.core.circuit#

Functions

compose(f, g)

example_circuit(qubit)

Returns example input strings for AnalyzeQCircuit and CustomQCircuit for some of the popular qubits.

get_operator_number(input_str)

Returns the number inside an operator name. Example:

get_trailing_number(input_str)

Returns the number trailing a string given as input. Example:

grid_operator_func_factory(inner_op, index, ...)

rtype

Callable

operator_func_factory(inner_op, ...)

rtype

Callable

truncation_template(system_hierarchy[, ...])

Function to generate a template for defining the truncated dimensions for subsystems when hierarchical diagonalization is used.

Classes

Circuit(symbolic_circuit[, ext_basis, ...])

Class for analysis of custom superconducting circuits.

Subsystem(parent, hamiltonian_symbolic[, ...])

Defines a subsystem for a circuit, which can further be used recursively to define subsystems within subsystem.