Struct qcs_api_client_openapi::models::node::Node
source · pub struct Node {
pub node_id: i32,
}Fields§
§node_id: i32An integer id assigned to the computational node. The ids may not be contiguous and will be assigned based on the architecture family.
Implementations§
source§impl Node
impl Node
sourcepub fn new(node_id: i32) -> Node
pub fn new(node_id: i32) -> Node
A logical node in the quantum processor’s architecture. The existence of a node in the ISA Architecture does not necessarily mean that a given 1Q operation will be available on the node. This information is conveyed by the presence of the specific node_id in instances of Instruction.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more