pub struct QPUBridgeManager { /* private fields */ }Implementations§
Source§impl QPUBridgeManager
impl QPUBridgeManager
Sourcepub fn initialize(
&mut self,
api_endpoint: &[u8],
auth_token: &[u8],
) -> Result<(), QPUBridgeError>
pub fn initialize( &mut self, api_endpoint: &[u8], auth_token: &[u8], ) -> Result<(), QPUBridgeError>
Initialize QPU bridge with API configuration
Sourcepub fn connect(&mut self) -> Result<(), QPUBridgeError>
pub fn connect(&mut self) -> Result<(), QPUBridgeError>
Connect to QPU service
Sourcepub fn submit_job(
&mut self,
params: QPUJobSubmissionParams,
) -> Result<[u8; 64], QPUBridgeError>
pub fn submit_job( &mut self, params: QPUJobSubmissionParams, ) -> Result<[u8; 64], QPUBridgeError>
Submit quantum job to QPU
Sourcepub fn get_job_result(
&mut self,
job_id: &[u8; 64],
) -> Result<QPUJobResult, QPUBridgeError>
pub fn get_job_result( &mut self, job_id: &[u8; 64], ) -> Result<QPUJobResult, QPUBridgeError>
Retrieve job result from QPU
Sourcepub fn get_metrics(&self) -> &QPUMetrics
pub fn get_metrics(&self) -> &QPUMetrics
Get performance metrics
Sourcepub fn is_connected(&self) -> bool
pub fn is_connected(&self) -> bool
Check connection status
Sourcepub fn get_job_status(&self) -> QPUJobStatus
pub fn get_job_status(&self) -> QPUJobStatus
Get job queue status
Auto Trait Implementations§
impl !Freeze for QPUBridgeManager
impl RefUnwindSafe for QPUBridgeManager
impl !Send for QPUBridgeManager
impl !Sync for QPUBridgeManager
impl Unpin for QPUBridgeManager
impl UnsafeUnpin for QPUBridgeManager
impl UnwindSafe for QPUBridgeManager
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more