pub enum Service {
Quilc,
Qvm,
Qcs,
Qpu,
}Expand description
The external services that this SDK may connect to. Used to differentiate between networking
issues in Error::Connection.
Variants§
Quilc
The open source quilc compiler.
This compiler must be running before calling Executable::execute_on_qpu unless the
Executable::compile_with_quilc option is set to false. By default, it’s assumed that
this is running on tcp://localhost:5555, but this can be overridden via
[profiles.<profile_name>.applications.pyquil.quilc_url] in your .qcs/settings.toml file.
Qvm
The open source qvm simulator.
This simulator must be running before calling Executable::execute_on_qvm. By default,
it’s assumed that this is running on http://localhost:5000, but this can be overridden via
[profiles.<profile_name>.applications.pyquil.qvm_url] in your .qcs/settings.toml file.
Qcs
The connection to QCS, the API for authentication,
QPU lookup, and translation.
You should be able to reach this service as long as you have a connection to the internet.
Qpu
The connection to the QPU itself. You can only connect to the QPU from an authorized network (like QCS JupyterLab).
Trait Implementations§
source§impl PartialEq<Service> for Service
impl PartialEq<Service> for Service
impl Copy for Service
impl Eq for Service
impl StructuralEq for Service
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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
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
key and return true if they are equal.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>
T in a tonic::Request