qcs_sdk.qpu

class QPUResultData:
def to_raw_readout_data(self, /):
mappings
memory_values
readout_values
class RawQPUReadoutData:

A wrapper type for data returned by the QPU in a more flat structure than [PyQpuResultData] offers. This makes it more convenient to work with the data if you don't care what type of number the readout values for each register contains.

readout_values
mappings
memory_values
class ReadoutValues:
def from_integer(inner):

The Python wrapper for [ReadoutValues::Integer], creating a [PyReadoutValues] and taking a Python argument.

def from_real(inner):

The Python wrapper for [ReadoutValues::Real], creating a [PyReadoutValues] and taking a Python argument.

def from_complex(inner):

The Python wrapper for [ReadoutValues::Complex], creating a [PyReadoutValues] and taking a Python argument.

def inner(self, /):

Directly return the Python version of the variant discriminant wrapped by this value; i.e., performs the match ReadoutValues::Variant(x) => x for every variant constructor in [ReadoutValues]

def is_integer(self, /):

Tests if this [PyReadoutValues] wraps a [ReadoutValues::integer] value

def as_integer(self, /):

Returns x if this [PyReadoutValues] wraps a ReadoutValues::integer(x); otherwise returns (Python) None. On the Rust side, this corresponds to either Some(x) or [None].

def to_integer(self, /):

Returns x if this [PyReadoutValues] wraps a ReadoutValues::integer(x); otherwise raises a ValueError. On the Rust side, this corresponds to either Ok(x) or Err(...).

def is_real(self, /):

Tests if this [PyReadoutValues] wraps a [ReadoutValues::real] value

def as_real(self, /):

Returns x if this [PyReadoutValues] wraps a ReadoutValues::real(x); otherwise returns (Python) None. On the Rust side, this corresponds to either Some(x) or [None].

def to_real(self, /):

Returns x if this [PyReadoutValues] wraps a ReadoutValues::real(x); otherwise raises a ValueError. On the Rust side, this corresponds to either Ok(x) or Err(...).

def is_complex(self, /):

Tests if this [PyReadoutValues] wraps a [ReadoutValues::complex] value

def as_complex(self, /):

Returns x if this [PyReadoutValues] wraps a ReadoutValues::complex(x); otherwise returns (Python) None. On the Rust side, this corresponds to either Some(x) or [None].

def to_complex(self, /):

Returns x if this [PyReadoutValues] wraps a ReadoutValues::complex(x); otherwise raises a ValueError. On the Rust side, this corresponds to either Ok(x) or Err(...).

class MemoryValues:
def from_binary(inner):

The Python wrapper for [MemoryValues::Binary], creating a [PyMemoryValues] and taking a Python argument.

def from_integer(inner):

The Python wrapper for [MemoryValues::Integer], creating a [PyMemoryValues] and taking a Python argument.

def from_real(inner):

The Python wrapper for [MemoryValues::Real], creating a [PyMemoryValues] and taking a Python argument.

def inner(self, /):

Directly return the Python version of the variant discriminant wrapped by this value; i.e., performs the match MemoryValues::Variant(x) => x for every variant constructor in [MemoryValues]

def is_binary(self, /):

Tests if this [PyMemoryValues] wraps a [MemoryValues::binary] value

def as_binary(self, /):

Returns x if this [PyMemoryValues] wraps a MemoryValues::binary(x); otherwise returns (Python) None. On the Rust side, this corresponds to either Some(x) or [None].

def to_binary(self, /):

Returns x if this [PyMemoryValues] wraps a MemoryValues::binary(x); otherwise raises a ValueError. On the Rust side, this corresponds to either Ok(x) or Err(...).

def is_integer(self, /):

Tests if this [PyMemoryValues] wraps a [MemoryValues::integer] value

def as_integer(self, /):

Returns x if this [PyMemoryValues] wraps a MemoryValues::integer(x); otherwise returns (Python) None. On the Rust side, this corresponds to either Some(x) or [None].

def to_integer(self, /):

Returns x if this [PyMemoryValues] wraps a MemoryValues::integer(x); otherwise raises a ValueError. On the Rust side, this corresponds to either Ok(x) or Err(...).

def is_real(self, /):

Tests if this [PyMemoryValues] wraps a [MemoryValues::real] value

def as_real(self, /):

Returns x if this [PyMemoryValues] wraps a MemoryValues::real(x); otherwise returns (Python) None. On the Rust side, this corresponds to either Some(x) or [None].

def to_real(self, /):

Returns x if this [PyMemoryValues] wraps a MemoryValues::real(x); otherwise raises a ValueError. On the Rust side, this corresponds to either Ok(x) or Err(...).

class ListQuantumProcessorsError(builtins.RuntimeError):

Unspecified run-time error.

def list_quantum_processors(client=None, timeout=None):
def list_quantum_processors_async(client=None, timeout=None):