Node#
- class scqubits.core.symbolic_circuit.Node(index, marker)[source]#
Class representing a circuit node, and handled by Circuit. The attribute <Node>.branches is a list of Branch objects containing all branches connected to the node.
- Parameters:
id (int) – integer identifier of the node
marker (int) – An internal attribute used to group nodes and identify sub-circuits in the method independent_modes.
index (int) –
Methods
Node.__init__
(index, marker)Node.connected_nodes
(branch_type)Returns a list of all nodes directly connected by branches to the current node, either considering all branches or a specified branch_type: "C", "L", "JJ", "all" for capacitive, inductive, Josephson junction, or all types of branches.
Returns a bool if the node is a ground node.
- connected_nodes(branch_type)[source]#
Returns a list of all nodes directly connected by branches to the current node, either considering all branches or a specified branch_type: “C”, “L”, “JJ”, “all” for capacitive, inductive, Josephson junction, or all types of branches.
- Return type:
List
[Node
]- Parameters:
branch_type (str) –