pub struct GeneralProperties {Show 17 fields
pub backend_name: String,
pub backend_version: String,
pub n_qubits: usize,
pub basis_gates: Vec<String>,
pub supported_instructions: Vec<String>,
pub local: bool,
pub simulator: bool,
pub conditional: bool,
pub open_pulse: bool,
pub memory: bool,
pub max_shots: usize,
pub coupling_map: Vec<(usize, usize)>,
pub dynamic_reprate_enabled: bool,
pub rep_delay_range: (f64, f64),
pub default_rep_delay: f64,
pub max_experiments: usize,
pub processor_type: ProcessorType,
}Expand description
General backend properties
Fields§
§backend_name: StringBackend name
backend_version: StringBackend version
n_qubits: usizeNumber of qubits
basis_gates: Vec<String>Basis gates supported
supported_instructions: Vec<String>All supported instructions
local: boolWhether the backend runs locally
simulator: boolWhether this is a simulator
conditional: boolWhether conditional operations are supported
open_pulse: boolWhether OpenPulse is supported
memory: boolWhether memory (mid-circuit measurement) is supported
max_shots: usizeMaximum number of shots per job
coupling_map: Vec<(usize, usize)>Coupling map (connected qubit pairs)
dynamic_reprate_enabled: boolWhether dynamic repetition rate is enabled
rep_delay_range: (f64, f64)Repetition delay range in microseconds
default_rep_delay: f64Default repetition delay in microseconds
max_experiments: usizeMaximum number of experiments per job
processor_type: ProcessorTypeProcessor type
Trait Implementations§
Source§impl Clone for GeneralProperties
impl Clone for GeneralProperties
Source§fn clone(&self) -> GeneralProperties
fn clone(&self) -> GeneralProperties
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GeneralProperties
impl RefUnwindSafe for GeneralProperties
impl Send for GeneralProperties
impl Sync for GeneralProperties
impl Unpin for GeneralProperties
impl UnwindSafe for GeneralProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.