pub struct JobHandle<'executable> { /* private fields */ }Expand description
The result of calling Executable::submit_to_qpu. Represents a quantum program running on
a QPU. Can be passed to Executable::retrieve_results to retrieve the results of the job.
Implementations§
source§impl<'a> JobHandle<'a>
impl<'a> JobHandle<'a>
sourcepub fn job_id(&self) -> JobId
pub fn job_id(&self) -> JobId
The string representation of the QCS Job ID. Useful for debugging.
sourcepub fn quantum_processor_id(&self) -> &str
pub fn quantum_processor_id(&self) -> &str
The ID of the quantum processor to which the job was submitted.
sourcepub fn readout_map(&self) -> &HashMap<String, String>
pub fn readout_map(&self) -> &HashMap<String, String>
The readout map from source readout memory locations to the filter pipeline node which publishes the data.
sourcepub fn execution_options(&self) -> &ExecutionOptions
pub fn execution_options(&self) -> &ExecutionOptions
The ExecutionOptions used to submit the job to the QPU.
Trait Implementations§
source§impl<'executable> PartialEq<JobHandle<'executable>> for JobHandle<'executable>
impl<'executable> PartialEq<JobHandle<'executable>> for JobHandle<'executable>
impl<'executable> Eq for JobHandle<'executable>
impl<'executable> StructuralEq for JobHandle<'executable>
impl<'executable> StructuralPartialEq for JobHandle<'executable>
Auto Trait Implementations§
impl<'executable> RefUnwindSafe for JobHandle<'executable>
impl<'executable> Send for JobHandle<'executable>
impl<'executable> Sync for JobHandle<'executable>
impl<'executable> Unpin for JobHandle<'executable>
impl<'executable> UnwindSafe for JobHandle<'executable>
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request