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
sourceimpl 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
sourceimpl Clone for InstructionSetArchitecture
impl Clone for InstructionSetArchitecture
sourcefn clone(&self) -> InstructionSetArchitecture
fn clone(&self) -> InstructionSetArchitecture
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InstructionSetArchitecture
impl Debug for InstructionSetArchitecture
sourceimpl Default for InstructionSetArchitecture
impl Default for InstructionSetArchitecture
sourcefn default() -> InstructionSetArchitecture
fn default() -> InstructionSetArchitecture
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InstructionSetArchitecture
impl<'de> Deserialize<'de> for InstructionSetArchitecture
sourcefn 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
sourceimpl PartialEq<InstructionSetArchitecture> for InstructionSetArchitecture
impl PartialEq<InstructionSetArchitecture> for InstructionSetArchitecture
sourcefn eq(&self, other: &InstructionSetArchitecture) -> bool
fn eq(&self, other: &InstructionSetArchitecture) -> bool
impl StructuralPartialEq for InstructionSetArchitecture
Auto Trait Implementations
impl RefUnwindSafe for InstructionSetArchitecture
impl Send for InstructionSetArchitecture
impl Sync for InstructionSetArchitecture
impl Unpin for InstructionSetArchitecture
impl UnwindSafe for InstructionSetArchitecture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more