Struct qcs_api_client_openapi::models::instruction_set_architecture::InstructionSetArchitecture
source · pub struct InstructionSetArchitecture {
pub architecture: Box<Architecture1>,
pub benchmarks: Vec<Operation>,
pub instructions: Vec<Operation>,
pub name: String,
}Fields§
§architecture: Box<Architecture1>§benchmarks: Vec<Operation>The list of benchmarks that have characterized the quantum processor.
instructions: Vec<Operation>The list of native QUIL instructions supported by the quantum processor.
name: StringThe name of the quantum processor.
Implementations§
source§impl InstructionSetArchitecture
impl InstructionSetArchitecture
sourcepub fn new(
architecture: Architecture1,
benchmarks: Vec<Operation>,
instructions: Vec<Operation>,
name: String
) -> InstructionSetArchitecture
pub fn new( architecture: Architecture1, benchmarks: Vec<Operation>, instructions: Vec<Operation>, name: String ) -> InstructionSetArchitecture
The native instruction set architecture of a quantum processor, annotated with characteristics. The operations described by the instructions field are named by their QUIL instruction name, while the operation described by the benchmarks field are named by their benchmark routine and are a future extension point that will be populated in future iterations. The characteristics that annotate both instructions and benchmarks assist the user to generate the best native QUIL program for a desired task, and so are provided as part of the native ISA.
Trait Implementations§
source§impl Clone for InstructionSetArchitecture
impl Clone for InstructionSetArchitecture
source§fn clone(&self) -> InstructionSetArchitecture
fn clone(&self) -> InstructionSetArchitecture
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InstructionSetArchitecture
impl Debug for InstructionSetArchitecture
source§impl Default for InstructionSetArchitecture
impl Default for InstructionSetArchitecture
source§fn default() -> InstructionSetArchitecture
fn default() -> InstructionSetArchitecture
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InstructionSetArchitecture
impl<'de> Deserialize<'de> for InstructionSetArchitecture
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
source§impl PartialEq<InstructionSetArchitecture> for InstructionSetArchitecture
impl PartialEq<InstructionSetArchitecture> for InstructionSetArchitecture
source§fn eq(&self, other: &InstructionSetArchitecture) -> bool
fn eq(&self, other: &InstructionSetArchitecture) -> bool
This method tests for
self and other values to be equal, and is used
by ==.