pub struct QuantumDevice {
pub id: u32,
pub name: String,
pub backend: QuantumBackend,
pub qubits: u32,
pub connectivity: Vec<(u32, u32)>,
pub gate_fidelity: f64,
pub coherence_time_us: f64,
pub gate_time_ns: f64,
pub measurement_time_ns: f64,
pub is_simulator: bool,
}Expand description
Quantum device information
Fields§
§id: u32§name: String§backend: QuantumBackend§qubits: u32§connectivity: Vec<(u32, u32)>§gate_fidelity: f64§coherence_time_us: f64§gate_time_ns: f64§measurement_time_ns: f64§is_simulator: boolTrait Implementations§
Source§impl Clone for QuantumDevice
impl Clone for QuantumDevice
Source§fn clone(&self) -> QuantumDevice
fn clone(&self) -> QuantumDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QuantumDevice
impl RefUnwindSafe for QuantumDevice
impl Send for QuantumDevice
impl Sync for QuantumDevice
impl Unpin for QuantumDevice
impl UnsafeUnpin for QuantumDevice
impl UnwindSafe for QuantumDevice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more