The rpcq Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The rpcq Reference Manual

This is the rpcq Reference Manual, version 2.7.1, generated automatically by Declt version 2.4 patchlevel 1 "Will Decker" on Mon Jul 29 16:34:49 2019 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

rpcq

pipeline status pypi version conda-forge version docker pulls

The asynchronous RPC client-server framework and message specification for Rigetti Quantum Cloud Services (QCS).

Implements an efficient transport protocol by using ZeroMQ (ZMQ) sockets and MessagePack (msgpack) serialization.

Not intended to be a full-featured replacement for other frameworks like gRPC or Apache Thrift.

Python Installation

To install directly from the source, run pip install -e . from within the top-level directory of the rpcq repository. To additionally install the requirements for testing, make sure to run pip install -r requirements.txt.

To instead install the latest released verson of rpcq from the Python package manager PyPi, run pip install rpcq.

NOTE: We strongly encourage users of rpcq to install the software within a (Python) virtual environment (read up on virtualenv, pyenv, or conda for more info).

Lisp Installation

Installation is easier with QuickLisp. After placing the source for RPCQ within your local Lisp projects directory (cf. ql:*local-project-directories*), run (ql:quickload :rpcq) and QuickLisp will download the necessary Lisp dependencies.

In addition to the Lisp dependencies, RPCQ depends on ZeroMQ. Be sure to install both the library and its development headers (which are necessary for the Lisp foreign-function interface to get its bearings).

Using the Client-Server Framework

The following two code samples (first in Python, then in Lisp) demonstrate how to create a server, add a test handler, and spin it up.

from rpcq import Server

server = Server()

@server.rpc_handler
def test():
    return 'test'

server.run('tcp://*:5555')
(defun test ()
  "test")

(let ((dt (rpcq:make-dispatch-table)))
  (rpcq:dispatch-table-add-handler dt 'test)
  (rpcq:start-server :dispatch-table dt
                     :listen-addresses '("tcp://*:5555")))

In another window, we can (again first in Python, then in Lisp) create a client that points to the same socket, and call the test method.

from rpcq import Client

client = Client('tcp://localhost:5555')

client.call('test')
(rpcq:with-rpc-client (client "tcp://localhost:5555")
  (rpcq:rpc-call client "test"))

In all cases (including interoperating a client/server pair written in different languages), this will return the string 'test'.

Using the Message Spec

The message spec as defined in src/messages.lisp (which in turn produces rpcq/messages.py) is meant to be used with the Rigetti QCS platform. Therefore, these messages are used in pyquil, in order to allow users to communicate with the Rigetti Quil compiler and quantum processing units (QPUs). PyQuil provides utilities for users to interact with the QCS API and write programs in Quil, the quantum instruction language developed at Rigetti.

Thus, most users will not interact with rpcq.messages directly. However, for those interested in building their own implementation of the QCS API utilities in pyQuil, becoming acquainted with the client-server framework, the available messages in the message spec, and how they are used in the pyquil.api module would be a good place to start!

Updating the Python Message Bindings

Currently only Python bindings are available for the message spec, but more language bindings are in the works. To update the Python message bindings after editing src/messages.lisp, open rlwrap sbcl and run:

(ql:quickload :rpcq)
(with-open-file (f "rpcq/messages.py" :direction :output :if-exists :supersede)
  (rpcq:python-message-spec f))

NOTE: Requires pre-installed sbcl, quicklisp, and (optionally) rlwrap.

We can also use the rpcq docker container to update the message spec without to install the requirements.

./docker_update_python_spec.sh

Running the Unit Tests

The rpcq repository is configured with GitLab CI to automatically run the unit tests.

The Python unit tests can be executed locally by running pytest from the top-level directory of the repository (assuming you have installed the test requirements).

The Lisp unit tests can be run locally by doing the following from within rlwrap sbcl:

(ql:quickload :rpcq)
(asdf:test-system :rpcq)

There may be some instances of STYLE-WARNING, but if the test run successfully, there should be something near the bottom of the output that looks like:

RPCQ-TESTS (Suite)
  TEST-DEFMESSAGE                                                         [ OK ]

Automated Packaging with Docker

The CI pipeline for rpcq produces a Docker image, available at rigetti/rpcq. To get the latest stable version of rpcq, run docker pull rigetti/rpcq.

Release Process

  1. Update VERSION.txt and dependency versions (if applicable) and push the commit to master.
  2. Push a git tag vX.Y.Z that contains the same version number as in VERSION.txt.
  3. Verify that the resulting build (triggered by pushing the tag) completes successfully.
  4. Push the tagged commit to pypi and verify it appears here.
  5. Publish a release using the tag as the name.
  6. Close the milestone associated with this release, and migrate incomplete issues to the next one.

Authors

Developed at Rigetti Computing by Nikolas Tezak, Steven Heidel, Eric Peterson, Colm Ryan, Peter Karalekas, Guen Prawiroatmodjo, and Robert Smith.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 rpcq

Author

Rigetti Computing <info@rigetti.com>

Description

Message and RPC specifications for Rigetti Quantum Cloud Services.

Version

2.7.1

Dependencies
Source

rpcq.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 rpcq.asd

Location

/home/quickref/quicklisp/dists/quicklisp/software/rpcq-v2.7.1/rpcq.asd

Systems

rpcq (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 rpcq/package.lisp

Parent

rpcq (system)

Location

package.lisp

Packages

rpcq


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 rpcq/utilities.lisp

Dependency

package.lisp (file)

Parent

rpcq (system)

Location

utilities.lisp

Exported Definitions

with-unique-rpc-address (macro)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 rpcq/rpcq.lisp

Dependency

utilities.lisp (file)

Parent

rpcq (system)

Location

rpcq.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 rpcq/rpcq-python.lisp

Dependency

rpcq.lisp (file)

Parent

rpcq (system)

Location

rpcq-python.lisp

Exported Definitions

python-message-spec (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 rpcq/messages.lisp

Dependency

rpcq-python.lisp (file)

Parent

rpcq (system)

Location

messages.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 rpcq/server.lisp

Dependency

messages.lisp (file)

Parent

rpcq (system)

Location

server.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.8 rpcq/client.lisp

Dependency

server.lisp (file)

Parent

rpcq (system)

Location

client.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 rpcq

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Macros

Macro: defmessage CLASS-NAME PARENT-NAME FIELD-SPECS &key DOCUMENTATION

Create a (de-)serializable message definition.

PARAMETERS:
* CLASS-NAME: The name of the message type.
* PARENT-NAME: A list of length at most 1 of "parent message types". Child message types inherit their parents slot specifications.
* FIELD-SPECS: A list of slot specifications for the message type. An entry in FIELD-SPECS is a plist with the following possible keys:
:TYPE - Either an atomic type, a list type, a map type, or another RPCQ message name.
:REQUIRED - A boolean indicating whether the field is required. If it is required, there must be a default value, either supplied through :DEFAULT or implicitly. :DOCUMENTATION - A documentation string.
:DEFAULT - A default value for the slot.
:DEPRECATES - The slot name that this slot replaces.
:DEPRECATED-BY - The slot name that this slot is replaced by.
:DEPRECATED - Indicates that this slot is being phased out without a replacement.

LIMITATIONS:
* DEPRECATES / DEPRECATED-BY must come in balanced pairs.
* DEPRECATES / DEPRECATED-BY are mutually exclusive. (Nested deprecation is not currently supported.)
* DEPRECATES / DEPRECATED-BY must reference slots on the same message, and not on parent messages.

Package

rpcq

Source

rpcq.lisp (file)

Macro: with-rpc-client (CLIENT ENDPOINT &rest OPTIONS) &body BODY

Opens an RPCQ client connection, referenced by CLIENT, at ENDPOINT. The connection is automatically closed as this form is exited or unwound. Hence, CLIENT is only valid during the execution of BODY, and it should not be stored or closed over.

OPTIONS is a p-list with the following possible keys:

:TIMEOUT is a timeout duration in seconds.

Package

rpcq

Source

client.lisp (file)

Macro: with-unique-rpc-address (ADDR) &body BODY

Bind ADDR in the context of BODY to a unique address acceptable to RPCQ:START-SERVER.

Package

rpcq

Source

utilities.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Functions

Function: clear-messages ()

Clear the stored message definitions.

Package

rpcq

Source

rpcq.lisp (file)

Function: deserialize PAYLOAD

Deserialize the object(s) encoded in PAYLOAD (string or stream).

Package

rpcq

Source

rpcq.lisp (file)

Function: dispatch-table-add-handler DISPATCH-TABLE F &key NAME

Add a function F to DISPATCH-TABLE, for use by an RPCQ server. The function F is expected to take only keyword arguments.

By default, a symbol passed in for F will be automatically converted into the name of F used in the dispatch table. To manually specify a name (or to provide a name for a non-symbol value of F), use the keyword argument :NAME.

Package

rpcq

Source

server.lisp (file)

Function: make-dispatch-table ()

Make an empty DISPATCH-TABLE, suitable for use with DISPATCH-TABLE-ADD-HANDLER and START-SERVER.

Package

rpcq

Source

server.lisp (file)

Function: python-message-spec STREAM MESSAGES &optional PARENT-MODULES

Print an importable python file with the message definitions.

Package

rpcq

Source

rpcq-python.lisp (file)

Function: rpc-call CLIENT CALL &rest ARGS

Makes a synchronous RPC call, designated by the string method name CALL, over the connection CLIENT. ARGS is a plist of arguments. Returns the result of the call directly.

Package

rpcq

Source

client.lisp (file)

Function: serialize OBJ &optional STREAM

Serialize OBJ, either written to a stream or returned as a vector of (INTEGER 0 255).

Package

rpcq

Source

rpcq.lisp (file)

Function: start-server &key DISPATCH-TABLE LISTEN-ADDRESSES THREAD-COUNT LOGGER TIMEOUT

Main loop of an RPCQ server.

Argument descriptions:
* DISPATCH-TABLE, of type DISPATCH-TABLE, registers the valid methods to which the server will respond.
* LISTEN-ADDRESSES is a list of strings, each of which is a valid ZMQ interface address that the server will listen on.
* THREAD-COUNT is a positive integer of the number of worker threads that the server will spawn to service requests.
* LOGGING-STREAM is the stream to which the worker threads will write debug information. This stream is also forwarded to the RPC functions as *DEBUG-IO*.
* TIMEOUT, of type (OR NULL (REAL 0)), sets the maximum duration that a thread will be allowed to work for before it is forcefully terminated. A TIMEOUT value of NIL signals that no thread will ever be terminated for taking too long.

Package

rpcq

Source

server.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Generic functions

Generic Function: not-an-rpcrequest-object CONDITION
Package

rpcq

Methods
Method: not-an-rpcrequest-object (CONDITION not-an-rpcrequest)
Source

server.lisp (file)

Generic Function: rpc-error-request-id CONDITION
Package

rpcq

Methods
Method: rpc-error-request-id (CONDITION rpc-error)
Source

client.lisp (file)

Generic Function: rpc-error-string CONDITION
Package

rpcq

Methods
Method: rpc-error-string (CONDITION rpc-error)
Source

client.lisp (file)

Generic Function: rpc-protocol-error-id CONDITION
Package

rpcq

Methods
Method: rpc-protocol-error-id (CONDITION rpc-protocol-error)
Source

client.lisp (file)

Generic Function: rpc-protocol-error-object CONDITION
Package

rpcq

Methods
Method: rpc-protocol-error-object (CONDITION rpc-protocol-error)
Source

client.lisp (file)

Generic Function: unknown-rpc-method-name CONDITION
Package

rpcq

Methods
Method: unknown-rpc-method-name (CONDITION unknown-rpc-method)
Source

server.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Conditions

Condition: not-an-rpcrequest ()

While listening for an RPC call, the server received malformed information.

Package

rpcq

Source

server.lisp (file)

Direct superclasses

simple-error (condition)

Direct methods

not-an-rpcrequest-object (method)

Direct slots
Slot: object
Initargs

:object

Readers

not-an-rpcrequest-object (generic function)

Condition: rpc-error ()

An RPC call signaled an error on the remote host.

Package

rpcq

Source

client.lisp (file)

Direct superclasses

simple-error (condition)

Direct methods
Direct slots
Slot: error-string
Initargs

:string

Readers

rpc-error-string (generic function)

Slot: request-id
Initargs

:id

Readers

rpc-error-request-id (generic function)

Condition: rpc-protocol-error ()

While listening for an RPC call reply, the client received malformed information.

Package

rpcq

Source

client.lisp (file)

Direct superclasses

simple-error (condition)

Direct methods
Direct slots
Slot: object
Initargs

:object

Readers

rpc-protocol-error-object (generic function)

Slot: id
Initargs

:id

Readers

rpc-protocol-error-id (generic function)

Condition: unknown-rpc-method ()

The server received an RPC request for a method it does not recognize.

Package

rpcq

Source

server.lisp (file)

Direct superclasses

simple-error (condition)

Direct methods

unknown-rpc-method-name (method)

Direct slots
Slot: method-name
Initargs

:method-name

Readers

unknown-rpc-method-name (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *messages*
Package

rpcq

Source

rpcq.lisp (file)

Special Variable: *mocked-namespace*
Package

rpcq

Special Variable: *python-instance-check-types*
Package

rpcq

Source

rpcq-python.lisp (file)

Special Variable: *python-types*
Package

rpcq

Source

rpcq-python.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: %plist-to-string-hash-table PLIST

Generate a hash-table from a PLIST while simultaneously converting the keys to strings.

Package

rpcq

Source

rpcq.lisp (file)

Function: %pull-raw-request RECEIVER

Pulls a ZMQ request over the RECEIVER socket. Returns a VALUES triple:

* IDENTITY-FRAME: array of (UNSIGNED-BYTE 8) that describes the intended recipient of a reply to this request.
* NULL-FRAME?: boolean indicating whether the recipient expects an additional null frame after the identity frame. (This is the case for REQ-type clients.) * PAYLOAD: array of (UNSIGNED-BYTE 8) that houses the raw request.

Package

rpcq

Source

server.lisp (file)

Function: %push-raw-request SOCKET IDENTITY NULL-FRAME? PAYLOAD

Pushes a ZMQ reply onto SOCKET. Takes the following values:

* IDENTITY: array of (UNSIGNED-BYTE 8) that describes the inteded recipient of the reply. Copy this from the matching %PULL-RAW-REQUEST.
* NULL-FRAME?: boolean indicating whether the recipient expects an additional null frame after the identity frame. Copy this from the matching %PULL-RAW-REQUEST. * PAYLOAD: array of (UNSIGNED-BYTE 8) that houses the raw reply.

Package

rpcq

Source

server.lisp (file)

Function: %rpc-server-thread-worker &key DISPATCH-TABLE LOGGER TIMEOUT POOL-ADDRESS

The thread body for an RPCQ server. Responds to RPCQ requests which match entries in DISPATCH-TABLE and writes log entries to LOGGING-STREAM.

DISPATCH-TABLE and LOGGING-STREAM are both required arguments. TIMEOUT is of type (OR NULL (REAL 0)), with NIL signalling no timeout.

Package

rpcq

Source

server.lisp (file)

Function: copy-rpc-client INSTANCE
Package

rpcq

Source

client.lisp (file)

Function: current-namespace ()
Package

rpcq

Source

rpcq.lisp (file)

Function: format-documentation-string STRING

Format a documentation string STRING into its final stored representation.

The input strings are assumed to be FORMAT-compatible, so sequences like ~<newline> are allowed.

Package

rpcq

Source

rpcq.lisp (file)

Function: format-log S FMT-STRING &rest ARGS

Writes a format string to the stream S in debug output format.

Package

rpcq

Source

utilities.lisp (file)

Function: global-function-p SYMBOL

Return true if SYMBOL is a symbol naming a global function. Return false otherwise.

Package

rpcq

Source

utilities.lisp (file)

Function: make-rpc-client &key (SOCKET SOCKET) (TIMEOUT TIMEOUT)
Package

rpcq

Source

client.lisp (file)

Function: map-plist F PLIST

Iterate over a PLIST and call F with key and value as parameters.

Package

rpcq

Source

rpcq.lisp (file)

Function: prepare-rpc-call-args ARGS
Package

rpcq

Source

client.lisp (file)

Function: python-argspec-default FIELD-TYPE DEFAULT

Translate DEFAULT values for immutable objects of a given FIELD-TYPE to python.

Package

rpcq

Source

rpcq-python.lisp (file)

Function: python-collections-initform FIELD-TYPE DEFAULT

Translate a DEFAULT value of type FIELD-TYPE to a python initform.

Package

rpcq

Source

rpcq-python.lisp (file)

Function: python-instance-check-type FIELD-TYPE
Package

rpcq

Source

rpcq-python.lisp (file)

Function: python-maybe-optional-typing-type FIELD-TYPE REQUIRED

Rerturn the python type string for FIELD-TYPE while accounting for whether the field is REQUIRED.

Package

rpcq

Source

rpcq-python.lisp (file)

Function: python-type FIELD-TYPE

Always return a basic python type not List[...] or Dict[...] for instance checks.

Package

rpcq

Source

rpcq-python.lisp (file)

Function: python-typing-type FIELD-TYPE

Return the python typing-module compliant field type

Package

rpcq

Source

rpcq-python.lisp (file)

Function: rpc-client-p OBJECT
Package

rpcq

Source

client.lisp (file)

Function: rpc-client-socket INSTANCE
Function: (setf rpc-client-socket) VALUE INSTANCE
Package

rpcq

Source

client.lisp (file)

Function: rpc-client-timeout INSTANCE
Function: (setf rpc-client-timeout) VALUE INSTANCE
Package

rpcq

Source

client.lisp (file)

Function: sanitize-name STRING-DESIGNATOR

Convert a stringifiable STRING-DESIGNATOR into a snake-case string.

Package

rpcq

Source

utilities.lisp (file)

Function: slot-type-and-initform FIELD-TYPE REQUIRED DEFAULT

Translate a FIELD-TYPE to a Lisp type and initform taking into account
whether the field is REQUIRED and a specified DEFAULT value.

The primitive field types must be specified as one of

:string :bytes :integer :float :bool

Message field types are specified by their class name, e.g. for
a Calibration message the field type is

|Calibration|

List and mapping field types are specified as

(:list x) (:map :string -> x)

where x is one of
{:string, :bytes, :any, :integer, :float, :bool, :list, :mapping} or a
message field type. We currently only support :string keys for
mappings as JSON does not support other kinds of keys but we
nonetheless explicitly include the key type for better readability

If a field is non-required, it may be None on the python side or NIL
in Lisp.

We distinguish between the following options for any field type:
1. Required with no default
- invalid not to provide a value for this field
- invalid to pass None/null/NIL for this field
2. Required with a default
- if a value is not provided, then a fallback value will be used
- invalid to pass None/null/NIL for this field
3. Optional with no default (equivalent to optional with a default of None in python, null in JSON, NIL in Lisp)
- valid to either not provide a value or to pass None for this field
4. Optional with a default
- if a value is not provided, then a fallback value is used
- you can explicitly pass None/null/NIL for this field

Package

rpcq

Source

rpcq.lisp (file)

Function: str->lisp-keyword STR

Convert a snake-case string into a hyphenated Lisp keyword.

Package

rpcq

Source

utilities.lisp (file)

Function: to-octets STRING

Convert a string S to a vector of 8-bit unsigned bytes

Package

rpcq

Source

rpcq.lisp (file)

Function: to-string OCTETS

Convert a vector of octets to a string

Package

rpcq

Source

rpcq.lisp (file)

Function: unpack-foreign-msg-to-bytes MSG

Converts a foreign array of unsigned characters to a Lisp vector of such.

Package

rpcq

Source

utilities.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Generic functions

Generic Function: %%deserialize-struct TYPE PAYLOAD
Package

rpcq

Methods
Method: %%deserialize-struct (TYPE (eql qpurequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql pyquilexecutableresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql binaryexecutableresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql binaryexecutablerequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql rewritearithmeticresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql rewritearithmeticrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql nativequilresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql nativequilmetadata)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql nativequilrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql conjugatebycliffordresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql conjugatebycliffordrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql pauliterm)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql randomizedbenchmarkingresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql randomizedbenchmarkingrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql targetdevice)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql rpcerror)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql rpcreply)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql rpcwarning)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql rpcrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql patchtarget)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql parameteraref)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct (TYPE (eql parameterspec)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %%deserialize-struct TYPE PAYLOAD
Source

rpcq.lisp (file)

Generic Function: %%serialize OBJ HASH-TABLE
Package

rpcq

Methods
Method: %%serialize (OBJ0 qpurequest) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 pyquilexecutableresponse) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 binaryexecutableresponse) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 binaryexecutablerequest) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 rewritearithmeticresponse) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 rewritearithmeticrequest) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 nativequilresponse) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 nativequilmetadata) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 nativequilrequest) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 conjugatebycliffordresponse) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 conjugatebycliffordrequest) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 pauliterm) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 randomizedbenchmarkingresponse) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 randomizedbenchmarkingrequest) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 targetdevice) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 rpcerror) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 rpcreply) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 rpcwarning) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 rpcrequest) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 patchtarget) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 parameteraref) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize (OBJ0 parameterspec) (HASH-TABLE hash-table)
Source

messages.lisp (file)

Method: %%serialize OBJ HASH-TABLE
Source

rpcq.lisp (file)

Generic Function: %deserialize PAYLOAD

Reconstruct objects that have already been converted to Lisp objects.

Package

rpcq

Source

rpcq.lisp (file)

Methods
Method: %deserialize PAYLOAD
Method: %deserialize (PAYLOAD hash-table)
Method: %deserialize (PAYLOAD string)
Method: %deserialize (PAYLOAD cons)
Method: %deserialize (PAYLOAD vector)
Generic Function: %deserialize-struct TYPE PAYLOAD
Package

rpcq

Source

rpcq.lisp (file)

Methods
Method: %deserialize-struct (TYPE (eql qpurequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql pyquilexecutableresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql binaryexecutableresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql binaryexecutablerequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql rewritearithmeticresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql rewritearithmeticrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql nativequilresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql nativequilmetadata)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql nativequilrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql conjugatebycliffordresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql conjugatebycliffordrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql pauliterm)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql randomizedbenchmarkingresponse)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql randomizedbenchmarkingrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql targetdevice)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql rpcerror)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql rpcreply)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql rpcwarning)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql rpcrequest)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql patchtarget)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql parameteraref)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Method: %deserialize-struct (TYPE (eql parameterspec)) (PAYLOAD hash-table)
Source

messages.lisp (file)

Generic Function: %print-slots OBJ STREAM
Package

rpcq

Methods
Method: %print-slots (OBJ0 qpurequest) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 pyquilexecutableresponse) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 binaryexecutableresponse) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 binaryexecutablerequest) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 rewritearithmeticresponse) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 rewritearithmeticrequest) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 nativequilresponse) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 nativequilmetadata) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 nativequilrequest) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 conjugatebycliffordresponse) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 conjugatebycliffordrequest) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 pauliterm) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 randomizedbenchmarkingresponse) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 randomizedbenchmarkingrequest) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 targetdevice) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 rpcerror) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 rpcreply) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 rpcwarning) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 rpcrequest) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 patchtarget) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 parameteraref) STREAM
Source

messages.lisp (file)

Method: %print-slots (OBJ0 parameterspec) STREAM
Source

messages.lisp (file)

Method: %print-slots OBJ STREAM
Source

rpcq.lisp (file)

Generic Function: %serialize PAYLOAD

Writes RPCQ objects into JSON-ifiable form, for further passage to msgpack.

Package

rpcq

Source

rpcq.lisp (file)

Methods
Method: %serialize (OBJ0 qpurequest)
Source

messages.lisp (file)

Method: %serialize (OBJ0 pyquilexecutableresponse)
Source

messages.lisp (file)

Method: %serialize (OBJ0 binaryexecutableresponse)
Source

messages.lisp (file)

Method: %serialize (OBJ0 binaryexecutablerequest)
Source

messages.lisp (file)

Method: %serialize (OBJ0 rewritearithmeticresponse)
Source

messages.lisp (file)

Method: %serialize (OBJ0 rewritearithmeticrequest)
Source

messages.lisp (file)

Method: %serialize (OBJ0 nativequilresponse)
Source

messages.lisp (file)

Method: %serialize (OBJ0 nativequilmetadata)
Source

messages.lisp (file)

Method: %serialize (OBJ0 nativequilrequest)
Source

messages.lisp (file)

Method: %serialize (OBJ0 conjugatebycliffordresponse)
Source

messages.lisp (file)

Method: %serialize (OBJ0 conjugatebycliffordrequest)
Source

messages.lisp (file)

Method: %serialize (OBJ0 pauliterm)
Source

messages.lisp (file)

Method: %serialize (OBJ0 randomizedbenchmarkingresponse)
Source

messages.lisp (file)

Method: %serialize (OBJ0 randomizedbenchmarkingrequest)
Source

messages.lisp (file)

Method: %serialize (OBJ0 targetdevice)
Source

messages.lisp (file)

Method: %serialize (OBJ0 rpcerror)
Source

messages.lisp (file)

Method: %serialize (OBJ0 rpcreply)
Source

messages.lisp (file)

Method: %serialize (OBJ0 rpcwarning)
Source

messages.lisp (file)

Method: %serialize (OBJ0 rpcrequest)
Source

messages.lisp (file)

Method: %serialize (OBJ0 patchtarget)
Source

messages.lisp (file)

Method: %serialize (OBJ0 parameteraref)
Source

messages.lisp (file)

Method: %serialize (OBJ0 parameterspec)
Source

messages.lisp (file)

Method: %serialize (PAYLOAD hash-table)
Method: %serialize (PAYLOAD string)
Method: %serialize (PAYLOAD cons)
Method: %serialize (PAYLOAD vector)
Method: %serialize PAYLOAD
Generic Function: binaryexecutablerequest-num_shots OBJECT
Package

rpcq

Methods
Method: binaryexecutablerequest-num_shots (BinaryExecutableRequest binaryexecutablerequest)

The number of times to repeat the program.

Source

messages.lisp (file)

Generic Function: binaryexecutablerequest-quil OBJECT
Package

rpcq

Methods
Method: binaryexecutablerequest-quil (BinaryExecutableRequest binaryexecutablerequest)

Native Quil to be translated into an executable program.

Source

messages.lisp (file)

Generic Function: binaryexecutableresponse-memory_descriptors OBJECT
Package

rpcq

Methods
Method: binaryexecutableresponse-memory_descriptors (BinaryExecutableResponse binaryexecutableresponse)

Internal field for constructing patch tables.

Source

messages.lisp (file)

Generic Function: binaryexecutableresponse-program OBJECT
Package

rpcq

Methods
Method: binaryexecutableresponse-program (BinaryExecutableResponse binaryexecutableresponse)

Execution settings and sequencer binaries.

Source

messages.lisp (file)

Generic Function: binaryexecutableresponse-ro_sources OBJECT
Package

rpcq

Methods
Method: binaryexecutableresponse-ro_sources (BinaryExecutableResponse binaryexecutableresponse)

Internal field for reshaping returned buffers.

Source

messages.lisp (file)

Generic Function: conjugatebycliffordrequest-clifford OBJECT
Package

rpcq

Methods
Method: conjugatebycliffordrequest-clifford (ConjugateByCliffordRequest conjugatebycliffordrequest)

Specification of a Clifford element.

Source

messages.lisp (file)

Generic Function: conjugatebycliffordrequest-pauli OBJECT
Package

rpcq

Methods
Method: conjugatebycliffordrequest-pauli (ConjugateByCliffordRequest conjugatebycliffordrequest)

Specification of a Pauli element.

Source

messages.lisp (file)

Generic Function: conjugatebycliffordresponse-pauli OBJECT
Package

rpcq

Methods
Method: conjugatebycliffordresponse-pauli (ConjugateByCliffordResponse conjugatebycliffordresponse)

Description of the encoded Pauli.

Source

messages.lisp (file)

Generic Function: conjugatebycliffordresponse-phase OBJECT
Package

rpcq

Methods
Method: conjugatebycliffordresponse-phase (ConjugateByCliffordResponse conjugatebycliffordresponse)

Encoded global phase factor on the emitted Pauli.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-final_rewiring OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-final_rewiring (NativeQuilMetadata nativequilmetadata)

Output qubit index relabeling due to SWAP insertion.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-gate_depth OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-gate_depth (NativeQuilMetadata nativequilmetadata)

Maximum number of successive gates in the native quil program.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-gate_volume OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-gate_volume (NativeQuilMetadata nativequilmetadata)

Total number of gates in the native quil program.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-multiqubit_gate_depth OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-multiqubit_gate_depth (NativeQuilMetadata nativequilmetadata)

Maximum number of successive two-qubit gates in the native quil program.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-program_duration OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-program_duration (NativeQuilMetadata nativequilmetadata)

Rough estimate of native quil program length in nanoseconds.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-program_fidelity OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-program_fidelity (NativeQuilMetadata nativequilmetadata)

Rough estimate of the fidelity of the full native quil program, uses specs.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-qpu_runtime_estimation OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-qpu_runtime_estimation (NativeQuilMetadata nativequilmetadata)

The estimated runtime (milliseconds) on a Rigetti QPU for a protoquil program.

Source

messages.lisp (file)

Generic Function: nativequilmetadata-topological_swaps OBJECT
Package

rpcq

Methods
Method: nativequilmetadata-topological_swaps (NativeQuilMetadata nativequilmetadata)

Total number of SWAPs in the native quil program.

Source

messages.lisp (file)

Generic Function: nativequilrequest-quil OBJECT
Package

rpcq

Methods
Method: nativequilrequest-quil (NativeQuilRequest nativequilrequest)

Arbitrary Quil to be sent to quilc.

Source

messages.lisp (file)

Generic Function: nativequilrequest-target_device OBJECT
Package

rpcq

Methods
Method: nativequilrequest-target_device (NativeQuilRequest nativequilrequest)

Specifications for the device to target with quilc.

Source

messages.lisp (file)

Generic Function: nativequilresponse-metadata OBJECT
Package

rpcq

Methods
Method: nativequilresponse-metadata (NativeQuilResponse nativequilresponse)

Metadata for the returned Native Quil.

Source

messages.lisp (file)

Generic Function: nativequilresponse-quil OBJECT
Package

rpcq

Methods
Method: nativequilresponse-quil (NativeQuilResponse nativequilresponse)

Native Quil returned from quilc.

Source

messages.lisp (file)

Generic Function: parameteraref-index OBJECT
Package

rpcq

Methods
Method: parameteraref-index (ParameterAref parameteraref)

The array index.

Source

messages.lisp (file)

Generic Function: parameteraref-name OBJECT
Package

rpcq

Methods
Method: parameteraref-name (ParameterAref parameteraref)

The parameter name

Source

messages.lisp (file)

Generic Function: parameterspec-length OBJECT
Package

rpcq

Methods
Method: parameterspec-length (ParameterSpec parameterspec)

If this is not 1, the parameter is an array of this length.

Source

messages.lisp (file)

Generic Function: parameterspec-type OBJECT
Package

rpcq

Methods
Method: parameterspec-type (ParameterSpec parameterspec)

The parameter type, e.g., one of ’INTEGER’, or ’FLOAT’.

Source

messages.lisp (file)

Generic Function: patchtarget-patch_offset OBJECT
Package

rpcq

Methods
Method: patchtarget-patch_offset (PatchTarget patchtarget)

Memory address of the patch.

Source

messages.lisp (file)

Generic Function: patchtarget-patch_type OBJECT
Package

rpcq

Methods
Method: patchtarget-patch_type (PatchTarget patchtarget)

Data type at this address.

Source

messages.lisp (file)

Generic Function: pauliterm-indices OBJECT
Package

rpcq

Methods
Method: pauliterm-indices (PauliTerm pauliterm)

Qubit indices onto which the factors of a Pauli term are applied.

Source

messages.lisp (file)

Generic Function: pauliterm-symbols OBJECT
Package

rpcq

Methods
Method: pauliterm-symbols (PauliTerm pauliterm)

Ordered factors of a Pauli term.

Source

messages.lisp (file)

Generic Function: pyquilexecutableresponse-attributes OBJECT
Package

rpcq

Methods
Method: pyquilexecutableresponse-attributes (PyQuilExecutableResponse pyquilexecutableresponse)

Miscellaneous attributes to be unpacked onto the pyQuil Program object.

Source

messages.lisp (file)

Generic Function: pyquilexecutableresponse-program OBJECT
Package

rpcq

Methods
Method: pyquilexecutableresponse-program (PyQuilExecutableResponse pyquilexecutableresponse)

String representation of a Quil program.

Source

messages.lisp (file)

Generic Function: qpurequest-id OBJECT
Package

rpcq

Methods
Method: qpurequest-id (QPURequest qpurequest)

QPU request ID.

Source

messages.lisp (file)

Generic Function: qpurequest-patch_values OBJECT
Package

rpcq

Methods
Method: qpurequest-patch_values (QPURequest qpurequest)

Dictionary mapping data names to data values for patching the binary.

Source

messages.lisp (file)

Generic Function: qpurequest-program OBJECT
Package

rpcq

Methods
Method: qpurequest-program (QPURequest qpurequest)

Execution settings and sequencer binaries.

Source

messages.lisp (file)

Generic Function: randomizedbenchmarkingrequest-depth OBJECT
Package

rpcq

Methods
Method: randomizedbenchmarkingrequest-depth (RandomizedBenchmarkingRequest randomizedbenchmarkingrequest)

Depth of the benchmarking sequence.

Source

messages.lisp (file)

Generic Function: randomizedbenchmarkingrequest-gateset OBJECT
Package

rpcq

Methods
Method: randomizedbenchmarkingrequest-gateset (RandomizedBenchmarkingRequest randomizedbenchmarkingrequest)

List of Quil programs, each describing a Clifford.

Source

messages.lisp (file)

Generic Function: randomizedbenchmarkingrequest-interleaver OBJECT
Package

rpcq

Methods
Method: randomizedbenchmarkingrequest-interleaver (RandomizedBenchmarkingRequest randomizedbenchmarkingrequest)

Fixed Clifford, specified as a Quil string, to interleave through an RB sequence.

Source

messages.lisp (file)

Generic Function: randomizedbenchmarkingrequest-qubits OBJECT
Package

rpcq

Methods
Method: randomizedbenchmarkingrequest-qubits (RandomizedBenchmarkingRequest randomizedbenchmarkingrequest)

Number of qubits involved in the benchmarking sequence.

Source

messages.lisp (file)

Generic Function: randomizedbenchmarkingrequest-seed OBJECT
Package

rpcq

Methods
Method: randomizedbenchmarkingrequest-seed (RandomizedBenchmarkingRequest randomizedbenchmarkingrequest)

PRNG seed. Set this to guarantee repeatable results.

Source

messages.lisp (file)

Generic Function: randomizedbenchmarkingresponse-sequence OBJECT
Package

rpcq

Methods
Method: randomizedbenchmarkingresponse-sequence (RandomizedBenchmarkingResponse randomizedbenchmarkingresponse)

List of Cliffords, each expressed as a list of generator indices.

Source

messages.lisp (file)

Generic Function: rewritearithmeticrequest-quil OBJECT
Package

rpcq

Methods
Method: rewritearithmeticrequest-quil (RewriteArithmeticRequest rewritearithmeticrequest)

Native Quil for which to rewrite arithmetic parameters.

Source

messages.lisp (file)

Generic Function: rewritearithmeticresponse-original_memory_descriptors OBJECT
Package

rpcq

Methods
Method: rewritearithmeticresponse-original_memory_descriptors (RewriteArithmeticResponse rewritearithmeticresponse)

The declared memory descriptors in the Quil of the related request.

Source

messages.lisp (file)

Generic Function: rewritearithmeticresponse-quil OBJECT
Package

rpcq

Methods
Method: rewritearithmeticresponse-quil (RewriteArithmeticResponse rewritearithmeticresponse)

Native Quil rewritten with no arithmetic in gate parameters.

Source

messages.lisp (file)

Generic Function: rewritearithmeticresponse-recalculation_table OBJECT
Package

rpcq

Methods
Method: rewritearithmeticresponse-recalculation_table (RewriteArithmeticResponse rewritearithmeticresponse)

A mapping from memory references to the original gate arithmetic.

Source

messages.lisp (file)

Generic Function: rpcerror-error OBJECT
Package

rpcq

Methods
Method: rpcerror-error (RPCError rpcerror)

The error message.

Source

messages.lisp (file)

Generic Function: rpcerror-id OBJECT
Package

rpcq

Methods
Method: rpcerror-id (RPCError rpcerror)

The RPC request id.

Source

messages.lisp (file)

Generic Function: rpcerror-jsonrpc OBJECT
Package

rpcq

Methods
Method: rpcerror-jsonrpc (RPCError rpcerror)

The JSONRPC version.

Source

messages.lisp (file)

Generic Function: rpcerror-warnings OBJECT
Package

rpcq

Methods
Method: rpcerror-warnings (RPCError rpcerror)

A list of warnings that occurred during request processing.

Source

messages.lisp (file)

Generic Function: rpcreply-id OBJECT
Package

rpcq

Methods
Method: rpcreply-id (RPCReply rpcreply)

The RPC request id.

Source

messages.lisp (file)

Generic Function: rpcreply-jsonrpc OBJECT
Package

rpcq

Methods
Method: rpcreply-jsonrpc (RPCReply rpcreply)

The JSONRPC version.

Source

messages.lisp (file)

Generic Function: rpcreply-result OBJECT
Package

rpcq

Methods
Method: rpcreply-result (RPCReply rpcreply)

The RPC result.

Source

messages.lisp (file)

Generic Function: rpcreply-warnings OBJECT
Package

rpcq

Methods
Method: rpcreply-warnings (RPCReply rpcreply)

A list of warnings that occurred during request processing.

Source

messages.lisp (file)

Generic Function: rpcrequest-id OBJECT
Package

rpcq

Methods
Method: rpcrequest-id (RPCRequest rpcrequest)

RPC request id (used to verify that request and response belong together).

Source

messages.lisp (file)

Generic Function: rpcrequest-jsonrpc OBJECT
Package

rpcq

Methods
Method: rpcrequest-jsonrpc (RPCRequest rpcrequest)

The JSONRPC version.

Source

messages.lisp (file)

Generic Function: rpcrequest-method OBJECT
Package

rpcq

Methods
Method: rpcrequest-method (RPCRequest rpcrequest)

The RPC function name.

Source

messages.lisp (file)

Generic Function: rpcrequest-params OBJECT
Package

rpcq

Methods
Method: rpcrequest-params (RPCRequest rpcrequest)

The RPC function arguments.

Source

messages.lisp (file)

Generic Function: rpcwarning-body OBJECT
Package

rpcq

Methods
Method: rpcwarning-body (RPCWarning rpcwarning)

The warning string.

Source

messages.lisp (file)

Generic Function: rpcwarning-kind OBJECT
Package

rpcq

Methods
Method: rpcwarning-kind (RPCWarning rpcwarning)

The type of the warning raised.

Source

messages.lisp (file)

Generic Function: targetdevice-isa OBJECT
Package

rpcq

Methods
Method: targetdevice-isa (TargetDevice targetdevice)

Instruction-set architecture for this device.

Source

messages.lisp (file)

Generic Function: targetdevice-specs OBJECT
Package

rpcq

Methods
Method: targetdevice-specs (TargetDevice targetdevice)

Fidelities and coherence times for this device.

Source

messages.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Structures

Structure: rpc-client ()

Holds the data for an (active) RPCQ client connection.

Package

rpcq

Source

client.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

print-object (method)

Direct slots
Slot: socket
Readers

rpc-client-socket (function)

Writers

(setf rpc-client-socket) (function)

Slot: timeout
Type

(or null (real 0))

Readers

rpc-client-timeout (function)

Writers

(setf rpc-client-timeout) (function)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Classes

Class: binaryexecutablerequest ()

Native Quil and the information needed to create binary executables.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: quil

Native Quil to be translated into an executable program.

Type

(simple-array character)

Initargs

:|quil|

Initform

(error (concatenate (quote string) "missing value for field " #a((4) base-char . "quil")))

Readers

binaryexecutablerequest-quil (generic function)

Slot: num_shots

The number of times to repeat the program.

Type

fixnum

Initargs

:|num_shots|

Initform

(error (concatenate (quote string) "missing value for field " #a((9) base-char . "num_shots")))

Readers

binaryexecutablerequest-num_shots (generic function)

Class: binaryexecutableresponse ()

Program to run on the QPU.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: program

Execution settings and sequencer binaries.

Type

(simple-array character)

Initargs

:|program|

Initform

(error (concatenate (quote string) "missing value for field " #a((7) base-char . "program")))

Readers

binaryexecutableresponse-program (generic function)

Slot: memory_descriptors

Internal field for constructing patch tables.

Type

(or null hash-table)

Initargs

:|memory_descriptors|

Initform

(make-hash-table :test (quote equalp))

Readers

binaryexecutableresponse-memory_descriptors (generic function)

Slot: ro_sources

Internal field for reshaping returned buffers.

Type

vector

Initargs

:|ro_sources|

Initform

#()

Readers

binaryexecutableresponse-ro_sources (generic function)

Class: conjugatebycliffordrequest ()

RPC request payload for conjugating a Pauli element by a Clifford element.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: pauli

Specification of a Pauli element.

Type

(or null rpcq::|pauliterm|)

Initargs

:|pauli|

Initform

(error (concatenate (quote string) "missing value for field " #a((5) base-char . "pauli")))

Readers

conjugatebycliffordrequest-pauli (generic function)

Slot: clifford

Specification of a Clifford element.

Type

(simple-array character)

Initargs

:|clifford|

Initform

(error (concatenate (quote string) "missing value for field " #a((8) base-char . "clifford")))

Readers

conjugatebycliffordrequest-clifford (generic function)

Class: conjugatebycliffordresponse ()

RPC reply payload for a Pauli element as conjugated by a Clifford element.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: phase

Encoded global phase factor on the emitted Pauli.

Type

fixnum

Initargs

:|phase|

Initform

(error (concatenate (quote string) "missing value for field " #a((5) base-char . "phase")))

Readers

conjugatebycliffordresponse-phase (generic function)

Slot: pauli

Description of the encoded Pauli.

Type

(simple-array character)

Initargs

:|pauli|

Initform

(error (concatenate (quote string) "missing value for field " #a((5) base-char . "pauli")))

Readers

conjugatebycliffordresponse-pauli (generic function)

Class: nativequilmetadata ()

Metadata for a native quil program.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: final_rewiring

Output qubit index relabeling due to SWAP insertion.

Type

vector

Initargs

:|final_rewiring|

Initform

#()

Readers

nativequilmetadata-final_rewiring (generic function)

Slot: gate_depth

Maximum number of successive gates in the native quil program.

Type

(or null fixnum)

Initargs

:|gate_depth|

Readers

nativequilmetadata-gate_depth (generic function)

Slot: gate_volume

Total number of gates in the native quil program.

Type

(or null fixnum)

Initargs

:|gate_volume|

Readers

nativequilmetadata-gate_volume (generic function)

Slot: multiqubit_gate_depth

Maximum number of successive two-qubit gates in the native quil program.

Type

(or null fixnum)

Initargs

:|multiqubit_gate_depth|

Readers

nativequilmetadata-multiqubit_gate_depth (generic function)

Slot: program_duration

Rough estimate of native quil program length in nanoseconds.

Type

(or null double-float)

Initargs

:|program_duration|

Readers

nativequilmetadata-program_duration (generic function)

Slot: program_fidelity

Rough estimate of the fidelity of the full native quil program, uses specs.

Type

(or null double-float)

Initargs

:|program_fidelity|

Readers

nativequilmetadata-program_fidelity (generic function)

Slot: topological_swaps

Total number of SWAPs in the native quil program.

Type

(or null fixnum)

Initargs

:|topological_swaps|

Readers

nativequilmetadata-topological_swaps (generic function)

Slot: qpu_runtime_estimation

The estimated runtime (milliseconds) on a Rigetti QPU for a protoquil program.

Type

(or null double-float)

Initargs

:|qpu_runtime_estimation|

Readers

nativequilmetadata-qpu_runtime_estimation (generic function)

Class: nativequilrequest ()

Quil and the device metadata necessary for quilc.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: quil

Arbitrary Quil to be sent to quilc.

Type

(simple-array character)

Initargs

:|quil|

Initform

(error (concatenate (quote string) "missing value for field " #a((4) base-char . "quil")))

Readers

nativequilrequest-quil (generic function)

Slot: target_device

Specifications for the device to target with quilc.

Type

(or null rpcq::|targetdevice|)

Initargs

:|target_device|

Initform

(error (concatenate (quote string) "missing value for field " #a((13) base-char . "target_device")))

Readers

nativequilrequest-target_device (generic function)

Class: nativequilresponse ()

Native Quil and associated metadata returned from quilc.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: quil

Native Quil returned from quilc.

Type

(simple-array character)

Initargs

:|quil|

Initform

(error (concatenate (quote string) "missing value for field " #a((4) base-char . "quil")))

Readers

nativequilresponse-quil (generic function)

Slot: metadata

Metadata for the returned Native Quil.

Type

rpcq::|nativequilmetadata|

Initargs

:|metadata|

Readers

nativequilresponse-metadata (generic function)

Class: parameteraref ()

A parametric expression.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name

The parameter name

Type

(simple-array character)

Initargs

:|name|

Initform

(error (concatenate (quote string) "missing value for field " #a((4) base-char . "name")))

Readers

parameteraref-name (generic function)

Slot: index

The array index.

Type

fixnum

Initargs

:|index|

Initform

(error (concatenate (quote string) "missing value for field " #a((5) base-char . "index")))

Readers

parameteraref-index (generic function)

Class: parameterspec ()

Specification of a dynamic parameter type and array-length.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: type

The parameter type, e.g., one of ’INTEGER’, or ’FLOAT’.

Type

(simple-array character)

Initargs

:|type|

Readers

parameterspec-type (generic function)

Slot: length

If this is not 1, the parameter is an array of this length.

Type

fixnum

Initargs

:|length|

Initform

1

Readers

parameterspec-length (generic function)

Class: patchtarget ()

Patchable memory location descriptor.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: patch_type

Data type at this address.

Type

(or null rpcq::|parameterspec|)

Initargs

:|patch_type|

Initform

(error (concatenate (quote string) "missing value for field " #a((10) base-char . "patch_type")))

Readers

patchtarget-patch_type (generic function)

Slot: patch_offset

Memory address of the patch.

Type

fixnum

Initargs

:|patch_offset|

Initform

(error (concatenate (quote string) "missing value for field " #a((12) base-char . "patch_offset")))

Readers

patchtarget-patch_offset (generic function)

Class: pauliterm ()

Specification of a single Pauli term as a tensor product of Pauli factors.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: indices

Qubit indices onto which the factors of a Pauli term are applied.

Type

vector

Initargs

:|indices|

Initform

(error (concatenate (quote string) "missing value for field " #a((7) base-char . "indices")))

Readers

pauliterm-indices (generic function)

Slot: symbols

Ordered factors of a Pauli term.

Type

vector

Initargs

:|symbols|

Initform

(error (concatenate (quote string) "missing value for field " #a((7) base-char . "symbols")))

Readers

pauliterm-symbols (generic function)

Class: pyquilexecutableresponse ()

rpcQ-serializable form of a pyQuil Program object.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: program

String representation of a Quil program.

Type

(simple-array character)

Initargs

:|program|

Initform

(error (concatenate (quote string) "missing value for field " #a((7) base-char . "program")))

Readers

pyquilexecutableresponse-program (generic function)

Slot: attributes

Miscellaneous attributes to be unpacked onto the pyQuil Program object.

Type

hash-table

Initargs

:|attributes|

Initform

(error (concatenate (quote string) "missing value for field " #a((10) base-char . "attributes")))

Readers

pyquilexecutableresponse-attributes (generic function)

Class: qpurequest ()

Program and patch values to send to the QPU for execution.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: program

Execution settings and sequencer binaries.

Initargs

:|program|

Initform

(error (concatenate (quote string) "missing value for field " #a((7) base-char . "program")))

Readers

qpurequest-program (generic function)

Slot: patch_values

Dictionary mapping data names to data values for patching the binary.

Type

hash-table

Initargs

:|patch_values|

Initform

(error (concatenate (quote string) "missing value for field " #a((12) base-char . "patch_values")))

Readers

qpurequest-patch_values (generic function)

Slot: id

QPU request ID.

Type

(simple-array character)

Initargs

:|id|

Initform

(error (concatenate (quote string) "missing value for field " #a((2) base-char . "id")))

Readers

qpurequest-id (generic function)

Class: randomizedbenchmarkingrequest ()

RPC request payload for generating a randomized benchmarking sequence.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: depth

Depth of the benchmarking sequence.

Type

fixnum

Initargs

:|depth|

Initform

(error (concatenate (quote string) "missing value for field " #a((5) base-char . "depth")))

Readers

randomizedbenchmarkingrequest-depth (generic function)

Slot: qubits

Number of qubits involved in the benchmarking sequence.

Type

fixnum

Initargs

:|qubits|

Initform

(error (concatenate (quote string) "missing value for field " #a((6) base-char . "qubits")))

Readers

randomizedbenchmarkingrequest-qubits (generic function)

Slot: gateset

List of Quil programs, each describing a Clifford.

Type

vector

Initargs

:|gateset|

Initform

(error (concatenate (quote string) "missing value for field " #a((7) base-char . "gateset")))

Readers

randomizedbenchmarkingrequest-gateset (generic function)

Slot: seed

PRNG seed. Set this to guarantee repeatable results.

Type

(or null fixnum)

Initargs

:|seed|

Readers

randomizedbenchmarkingrequest-seed (generic function)

Slot: interleaver

Fixed Clifford, specified as a Quil string, to interleave through an RB sequence.

Type

(or null (simple-array character))

Initargs

:|interleaver|

Readers

randomizedbenchmarkingrequest-interleaver (generic function)

Class: randomizedbenchmarkingresponse ()

RPC reply payload for a randomly generated benchmarking sequence.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: sequence

List of Cliffords, each expressed as a list of generator indices.

Type

vector

Initargs

:|sequence|

Initform

(error (concatenate (quote string) "missing value for field " #a((8) base-char . "sequence")))

Readers

randomizedbenchmarkingresponse-sequence (generic function)

Class: rewritearithmeticrequest ()

A request type to handle compiling arithmetic out of gate parameters.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: quil

Native Quil for which to rewrite arithmetic parameters.

Type

(simple-array character)

Initargs

:|quil|

Initform

(error (concatenate (quote string) "missing value for field " #a((4) base-char . "quil")))

Readers

rewritearithmeticrequest-quil (generic function)

Class: rewritearithmeticresponse ()

The data needed to run programs with gate arithmetic on the hardware.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: quil

Native Quil rewritten with no arithmetic in gate parameters.

Type

(simple-array character)

Initargs

:|quil|

Initform

(error (concatenate (quote string) "missing value for field " #a((4) base-char . "quil")))

Readers

rewritearithmeticresponse-quil (generic function)

Slot: original_memory_descriptors

The declared memory descriptors in the Quil of the related request.

Type

(or null hash-table)

Initargs

:|original_memory_descriptors|

Initform

(make-hash-table :test (quote equalp))

Readers

rewritearithmeticresponse-original_memory_descriptors (generic function)

Slot: recalculation_table

A mapping from memory references to the original gate arithmetic.

Type

(or null hash-table)

Initargs

:|recalculation_table|

Initform

(make-hash-table :test (quote equalp))

Readers

rewritearithmeticresponse-recalculation_table (generic function)

Class: rpcerror ()

A error message for JSONRPC requests.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: jsonrpc

The JSONRPC version.

Type

(simple-array character)

Initargs

:|jsonrpc|

Initform

"2.0"

Readers

rpcerror-jsonrpc (generic function)

Slot: error

The error message.

Type

(simple-array character)

Initargs

:|error|

Initform

(error (concatenate (quote string) "missing value for field " #a((5) base-char . "error")))

Readers

rpcerror-error (generic function)

Slot: id

The RPC request id.

Type

(simple-array character)

Initargs

:|id|

Initform

(error (concatenate (quote string) "missing value for field " #a((2) base-char . "id")))

Readers

rpcerror-id (generic function)

Slot: warnings

A list of warnings that occurred during request processing.

Type

vector

Initargs

:|warnings|

Initform

#()

Readers

rpcerror-warnings (generic function)

Class: rpcreply ()

The reply for a JSONRPC request.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: jsonrpc

The JSONRPC version.

Type

(simple-array character)

Initargs

:|jsonrpc|

Initform

"2.0"

Readers

rpcreply-jsonrpc (generic function)

Slot: result

The RPC result.

Type

(or null t)

Initargs

:|result|

Readers

rpcreply-result (generic function)

Slot: id

The RPC request id.

Type

(simple-array character)

Initargs

:|id|

Initform

(error (concatenate (quote string) "missing value for field " #a((2) base-char . "id")))

Readers

rpcreply-id (generic function)

Slot: warnings

A list of warnings that occurred during request processing.

Type

vector

Initargs

:|warnings|

Initform

#()

Readers

rpcreply-warnings (generic function)

Class: rpcrequest ()

A single request object according to the JSONRPC standard.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: jsonrpc

The JSONRPC version.

Type

(simple-array character)

Initargs

:|jsonrpc|

Initform

"2.0"

Readers

rpcrequest-jsonrpc (generic function)

Slot: method

The RPC function name.

Type

(simple-array character)

Initargs

:|method|

Initform

(error (concatenate (quote string) "missing value for field " #a((6) base-char . "method")))

Readers

rpcrequest-method (generic function)

Slot: params

The RPC function arguments.

Initargs

:|params|

Initform

(error (concatenate (quote string) "missing value for field " #a((6) base-char . "params")))

Readers

rpcrequest-params (generic function)

Slot: id

RPC request id (used to verify that request and response belong together).

Type

(simple-array character)

Initargs

:|id|

Initform

(error (concatenate (quote string) "missing value for field " #a((2) base-char . "id")))

Readers

rpcrequest-id (generic function)

Class: rpcwarning ()

An individual warning emitted in the course of RPC processing.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: body

The warning string.

Type

(simple-array character)

Initargs

:|body|

Initform

(error (concatenate (quote string) "missing value for field " #a((4) base-char . "body")))

Readers

rpcwarning-body (generic function)

Slot: kind

The type of the warning raised.

Type

(or null (simple-array character))

Initargs

:|kind|

Readers

rpcwarning-kind (generic function)

Class: targetdevice ()

ISA and specs for a particular device.

Package

rpcq

Source

messages.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: isa

Instruction-set architecture for this device.

Type

hash-table

Initargs

:|isa|

Initform

(error (concatenate (quote string) "missing value for field " #a((3) base-char . "isa")))

Readers

targetdevice-isa (generic function)

Slot: specs

Fidelities and coherence times for this device.

Type

hash-table

Initargs

:|specs|

Initform

(error (concatenate (quote string) "missing value for field " #a((5) base-char . "specs")))

Readers

targetdevice-specs (generic function)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Types

Type: atom-type ()
Package

rpcq

Source

rpcq.lisp (file)

Type: dispatch-table ()
Package

rpcq

Source

server.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   R  
Index Entry  Section

F
File, Lisp, rpcq.asd: The rpcq<dot>asd file
File, Lisp, rpcq/client.lisp: The rpcq/client<dot>lisp file
File, Lisp, rpcq/messages.lisp: The rpcq/messages<dot>lisp file
File, Lisp, rpcq/package.lisp: The rpcq/package<dot>lisp file
File, Lisp, rpcq/rpcq-python.lisp: The rpcq/rpcq-python<dot>lisp file
File, Lisp, rpcq/rpcq.lisp: The rpcq/rpcq<dot>lisp file
File, Lisp, rpcq/server.lisp: The rpcq/server<dot>lisp file
File, Lisp, rpcq/utilities.lisp: The rpcq/utilities<dot>lisp file

L
Lisp File, rpcq.asd: The rpcq<dot>asd file
Lisp File, rpcq/client.lisp: The rpcq/client<dot>lisp file
Lisp File, rpcq/messages.lisp: The rpcq/messages<dot>lisp file
Lisp File, rpcq/package.lisp: The rpcq/package<dot>lisp file
Lisp File, rpcq/rpcq-python.lisp: The rpcq/rpcq-python<dot>lisp file
Lisp File, rpcq/rpcq.lisp: The rpcq/rpcq<dot>lisp file
Lisp File, rpcq/server.lisp: The rpcq/server<dot>lisp file
Lisp File, rpcq/utilities.lisp: The rpcq/utilities<dot>lisp file

R
rpcq.asd: The rpcq<dot>asd file
rpcq/client.lisp: The rpcq/client<dot>lisp file
rpcq/messages.lisp: The rpcq/messages<dot>lisp file
rpcq/package.lisp: The rpcq/package<dot>lisp file
rpcq/rpcq-python.lisp: The rpcq/rpcq-python<dot>lisp file
rpcq/rpcq.lisp: The rpcq/rpcq<dot>lisp file
rpcq/server.lisp: The rpcq/server<dot>lisp file
rpcq/utilities.lisp: The rpcq/utilities<dot>lisp file

Jump to:   F   L   R  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
B   C   D   F   G   M   N   P   Q   R   S   T   U   W  
Index Entry  Section

%
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%deserialize-struct: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%%serialize: Internal generic functions
%deserialize: Internal generic functions
%deserialize: Internal generic functions
%deserialize: Internal generic functions
%deserialize: Internal generic functions
%deserialize: Internal generic functions
%deserialize: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%deserialize-struct: Internal generic functions
%plist-to-string-hash-table: Internal functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%print-slots: Internal generic functions
%pull-raw-request: Internal functions
%push-raw-request: Internal functions
%rpc-server-thread-worker: Internal functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions
%serialize: Internal generic functions

(
(setf rpc-client-socket): Internal functions
(setf rpc-client-timeout): Internal functions

B
binaryexecutablerequest-num_shots: Internal generic functions
binaryexecutablerequest-num_shots: Internal generic functions
binaryexecutablerequest-quil: Internal generic functions
binaryexecutablerequest-quil: Internal generic functions
binaryexecutableresponse-memory_descriptors: Internal generic functions
binaryexecutableresponse-memory_descriptors: Internal generic functions
binaryexecutableresponse-program: Internal generic functions
binaryexecutableresponse-program: Internal generic functions
binaryexecutableresponse-ro_sources: Internal generic functions
binaryexecutableresponse-ro_sources: Internal generic functions

C
clear-messages: Exported functions
conjugatebycliffordrequest-clifford: Internal generic functions
conjugatebycliffordrequest-clifford: Internal generic functions
conjugatebycliffordrequest-pauli: Internal generic functions
conjugatebycliffordrequest-pauli: Internal generic functions
conjugatebycliffordresponse-pauli: Internal generic functions
conjugatebycliffordresponse-pauli: Internal generic functions
conjugatebycliffordresponse-phase: Internal generic functions
conjugatebycliffordresponse-phase: Internal generic functions
copy-rpc-client: Internal functions
current-namespace: Internal functions

D
defmessage: Exported macros
deserialize: Exported functions
dispatch-table-add-handler: Exported functions

F
format-documentation-string: Internal functions
format-log: Internal functions
Function, %plist-to-string-hash-table: Internal functions
Function, %pull-raw-request: Internal functions
Function, %push-raw-request: Internal functions
Function, %rpc-server-thread-worker: Internal functions
Function, (setf rpc-client-socket): Internal functions
Function, (setf rpc-client-timeout): Internal functions
Function, clear-messages: Exported functions
Function, copy-rpc-client: Internal functions
Function, current-namespace: Internal functions
Function, deserialize: Exported functions
Function, dispatch-table-add-handler: Exported functions
Function, format-documentation-string: Internal functions
Function, format-log: Internal functions
Function, global-function-p: Internal functions
Function, make-dispatch-table: Exported functions
Function, make-rpc-client: Internal functions
Function, map-plist: Internal functions
Function, prepare-rpc-call-args: Internal functions
Function, python-argspec-default: Internal functions
Function, python-collections-initform: Internal functions
Function, python-instance-check-type: Internal functions
Function, python-maybe-optional-typing-type: Internal functions
Function, python-message-spec: Exported functions
Function, python-type: Internal functions
Function, python-typing-type: Internal functions
Function, rpc-call: Exported functions
Function, rpc-client-p: Internal functions
Function, rpc-client-socket: Internal functions
Function, rpc-client-timeout: Internal functions
Function, sanitize-name: Internal functions
Function, serialize: Exported functions
Function, slot-type-and-initform: Internal functions
Function, start-server: Exported functions
Function, str->lisp-keyword: Internal functions
Function, to-octets: Internal functions
Function, to-string: Internal functions
Function, unpack-foreign-msg-to-bytes: Internal functions

G
Generic Function, %%deserialize-struct: Internal generic functions
Generic Function, %%serialize: Internal generic functions
Generic Function, %deserialize: Internal generic functions
Generic Function, %deserialize-struct: Internal generic functions
Generic Function, %print-slots: Internal generic functions
Generic Function, %serialize: Internal generic functions
Generic Function, binaryexecutablerequest-num_shots: Internal generic functions
Generic Function, binaryexecutablerequest-quil: Internal generic functions
Generic Function, binaryexecutableresponse-memory_descriptors: Internal generic functions
Generic Function, binaryexecutableresponse-program: Internal generic functions
Generic Function, binaryexecutableresponse-ro_sources: Internal generic functions
Generic Function, conjugatebycliffordrequest-clifford: Internal generic functions
Generic Function, conjugatebycliffordrequest-pauli: Internal generic functions
Generic Function, conjugatebycliffordresponse-pauli: Internal generic functions
Generic Function, conjugatebycliffordresponse-phase: Internal generic functions
Generic Function, nativequilmetadata-final_rewiring: Internal generic functions
Generic Function, nativequilmetadata-gate_depth: Internal generic functions
Generic Function, nativequilmetadata-gate_volume: Internal generic functions
Generic Function, nativequilmetadata-multiqubit_gate_depth: Internal generic functions
Generic Function, nativequilmetadata-program_duration: Internal generic functions
Generic Function, nativequilmetadata-program_fidelity: Internal generic functions
Generic Function, nativequilmetadata-qpu_runtime_estimation: Internal generic functions
Generic Function, nativequilmetadata-topological_swaps: Internal generic functions
Generic Function, nativequilrequest-quil: Internal generic functions
Generic Function, nativequilrequest-target_device: Internal generic functions
Generic Function, nativequilresponse-metadata: Internal generic functions
Generic Function, nativequilresponse-quil: Internal generic functions
Generic Function, not-an-rpcrequest-object: Exported generic functions
Generic Function, parameteraref-index: Internal generic functions
Generic Function, parameteraref-name: Internal generic functions
Generic Function, parameterspec-length: Internal generic functions
Generic Function, parameterspec-type: Internal generic functions
Generic Function, patchtarget-patch_offset: Internal generic functions
Generic Function, patchtarget-patch_type: Internal generic functions
Generic Function, pauliterm-indices: Internal generic functions
Generic Function, pauliterm-symbols: Internal generic functions
Generic Function, pyquilexecutableresponse-attributes: Internal generic functions
Generic Function, pyquilexecutableresponse-program: Internal generic functions
Generic Function, qpurequest-id: Internal generic functions
Generic Function, qpurequest-patch_values: Internal generic functions
Generic Function, qpurequest-program: Internal generic functions
Generic Function, randomizedbenchmarkingrequest-depth: Internal generic functions
Generic Function, randomizedbenchmarkingrequest-gateset: Internal generic functions
Generic Function, randomizedbenchmarkingrequest-interleaver: Internal generic functions
Generic Function, randomizedbenchmarkingrequest-qubits: Internal generic functions
Generic Function, randomizedbenchmarkingrequest-seed: Internal generic functions
Generic Function, randomizedbenchmarkingresponse-sequence: Internal generic functions
Generic Function, rewritearithmeticrequest-quil: Internal generic functions
Generic Function, rewritearithmeticresponse-original_memory_descriptors: Internal generic functions
Generic Function, rewritearithmeticresponse-quil: Internal generic functions
Generic Function, rewritearithmeticresponse-recalculation_table: Internal generic functions
Generic Function, rpc-error-request-id: Exported generic functions
Generic Function, rpc-error-string: Exported generic functions
Generic Function, rpc-protocol-error-id: Exported generic functions
Generic Function, rpc-protocol-error-object: Exported generic functions
Generic Function, rpcerror-error: Internal generic functions
Generic Function, rpcerror-id: Internal generic functions
Generic Function, rpcerror-jsonrpc: Internal generic functions
Generic Function, rpcerror-warnings: Internal generic functions
Generic Function, rpcreply-id: Internal generic functions
Generic Function, rpcreply-jsonrpc: Internal generic functions
Generic Function, rpcreply-result: Internal generic functions
Generic Function, rpcreply-warnings: Internal generic functions
Generic Function, rpcrequest-id: Internal generic functions
Generic Function, rpcrequest-jsonrpc: Internal generic functions
Generic Function, rpcrequest-method: Internal generic functions
Generic Function, rpcrequest-params: Internal generic functions
Generic Function, rpcwarning-body: Internal generic functions
Generic Function, rpcwarning-kind: Internal generic functions
Generic Function, targetdevice-isa: Internal generic functions
Generic Function, targetdevice-specs: Internal generic functions
Generic Function, unknown-rpc-method-name: Exported generic functions
global-function-p: Internal functions

M
Macro, defmessage: Exported macros
Macro, with-rpc-client: Exported macros
Macro, with-unique-rpc-address: Exported macros
make-dispatch-table: Exported functions
make-rpc-client: Internal functions
map-plist: Internal functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%deserialize-struct: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %%serialize: Internal generic functions
Method, %deserialize: Internal generic functions
Method, %deserialize: Internal generic functions
Method, %deserialize: Internal generic functions
Method, %deserialize: Internal generic functions
Method, %deserialize: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %deserialize-struct: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %print-slots: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, %serialize: Internal generic functions
Method, binaryexecutablerequest-num_shots: Internal generic functions
Method, binaryexecutablerequest-quil: Internal generic functions
Method, binaryexecutableresponse-memory_descriptors: Internal generic functions
Method, binaryexecutableresponse-program: Internal generic functions
Method, binaryexecutableresponse-ro_sources: Internal generic functions
Method, conjugatebycliffordrequest-clifford: Internal generic functions
Method, conjugatebycliffordrequest-pauli: Internal generic functions
Method, conjugatebycliffordresponse-pauli: Internal generic functions
Method, conjugatebycliffordresponse-phase: Internal generic functions
Method, nativequilmetadata-final_rewiring: Internal generic functions
Method, nativequilmetadata-gate_depth: Internal generic functions
Method, nativequilmetadata-gate_volume: Internal generic functions
Method, nativequilmetadata-multiqubit_gate_depth: Internal generic functions
Method, nativequilmetadata-program_duration: Internal generic functions
Method, nativequilmetadata-program_fidelity: Internal generic functions
Method, nativequilmetadata-qpu_runtime_estimation: Internal generic functions
Method, nativequilmetadata-topological_swaps: Internal generic functions
Method, nativequilrequest-quil: Internal generic functions
Method, nativequilrequest-target_device: Internal generic functions
Method, nativequilresponse-metadata: Internal generic functions
Method, nativequilresponse-quil: Internal generic functions
Method, not-an-rpcrequest-object: Exported generic functions
Method, parameteraref-index: Internal generic functions
Method, parameteraref-name: Internal generic functions
Method, parameterspec-length: Internal generic functions
Method, parameterspec-type: Internal generic functions
Method, patchtarget-patch_offset: Internal generic functions
Method, patchtarget-patch_type: Internal generic functions
Method, pauliterm-indices: Internal generic functions
Method, pauliterm-symbols: Internal generic functions
Method, pyquilexecutableresponse-attributes: Internal generic functions
Method, pyquilexecutableresponse-program: Internal generic functions
Method, qpurequest-id: Internal generic functions
Method, qpurequest-patch_values: Internal generic functions
Method, qpurequest-program: Internal generic functions
Method, randomizedbenchmarkingrequest-depth: Internal generic functions
Method, randomizedbenchmarkingrequest-gateset: Internal generic functions
Method, randomizedbenchmarkingrequest-interleaver: Internal generic functions
Method, randomizedbenchmarkingrequest-qubits: Internal generic functions
Method, randomizedbenchmarkingrequest-seed: Internal generic functions
Method, randomizedbenchmarkingresponse-sequence: Internal generic functions
Method, rewritearithmeticrequest-quil: Internal generic functions
Method, rewritearithmeticresponse-original_memory_descriptors: Internal generic functions
Method, rewritearithmeticresponse-quil: Internal generic functions
Method, rewritearithmeticresponse-recalculation_table: Internal generic functions
Method, rpc-error-request-id: Exported generic functions
Method, rpc-error-string: Exported generic functions
Method, rpc-protocol-error-id: Exported generic functions
Method, rpc-protocol-error-object: Exported generic functions
Method, rpcerror-error: Internal generic functions
Method, rpcerror-id: Internal generic functions
Method, rpcerror-jsonrpc: Internal generic functions
Method, rpcerror-warnings: Internal generic functions
Method, rpcreply-id: Internal generic functions
Method, rpcreply-jsonrpc: Internal generic functions
Method, rpcreply-result: Internal generic functions
Method, rpcreply-warnings: Internal generic functions
Method, rpcrequest-id: Internal generic functions
Method, rpcrequest-jsonrpc: Internal generic functions
Method, rpcrequest-method: Internal generic functions
Method, rpcrequest-params: Internal generic functions
Method, rpcwarning-body: Internal generic functions
Method, rpcwarning-kind: Internal generic functions
Method, targetdevice-isa: Internal generic functions
Method, targetdevice-specs: Internal generic functions
Method, unknown-rpc-method-name: Exported generic functions

N
nativequilmetadata-final_rewiring: Internal generic functions
nativequilmetadata-final_rewiring: Internal generic functions
nativequilmetadata-gate_depth: Internal generic functions
nativequilmetadata-gate_depth: Internal generic functions
nativequilmetadata-gate_volume: Internal generic functions
nativequilmetadata-gate_volume: Internal generic functions
nativequilmetadata-multiqubit_gate_depth: Internal generic functions
nativequilmetadata-multiqubit_gate_depth: Internal generic functions
nativequilmetadata-program_duration: Internal generic functions
nativequilmetadata-program_duration: Internal generic functions
nativequilmetadata-program_fidelity: Internal generic functions
nativequilmetadata-program_fidelity: Internal generic functions
nativequilmetadata-qpu_runtime_estimation: Internal generic functions
nativequilmetadata-qpu_runtime_estimation: Internal generic functions
nativequilmetadata-topological_swaps: Internal generic functions
nativequilmetadata-topological_swaps: Internal generic functions
nativequilrequest-quil: Internal generic functions
nativequilrequest-quil: Internal generic functions
nativequilrequest-target_device: Internal generic functions
nativequilrequest-target_device: Internal generic functions
nativequilresponse-metadata: Internal generic functions
nativequilresponse-metadata: Internal generic functions
nativequilresponse-quil: Internal generic functions
nativequilresponse-quil: Internal generic functions
not-an-rpcrequest-object: Exported generic functions
not-an-rpcrequest-object: Exported generic functions

P
parameteraref-index: Internal generic functions
parameteraref-index: Internal generic functions
parameteraref-name: Internal generic functions
parameteraref-name: Internal generic functions
parameterspec-length: Internal generic functions
parameterspec-length: Internal generic functions
parameterspec-type: Internal generic functions
parameterspec-type: Internal generic functions
patchtarget-patch_offset: Internal generic functions
patchtarget-patch_offset: Internal generic functions
patchtarget-patch_type: Internal generic functions
patchtarget-patch_type: Internal generic functions
pauliterm-indices: Internal generic functions
pauliterm-indices: Internal generic functions
pauliterm-symbols: Internal generic functions
pauliterm-symbols: Internal generic functions
prepare-rpc-call-args: Internal functions
pyquilexecutableresponse-attributes: Internal generic functions
pyquilexecutableresponse-attributes: Internal generic functions
pyquilexecutableresponse-program: Internal generic functions
pyquilexecutableresponse-program: Internal generic functions
python-argspec-default: Internal functions
python-collections-initform: Internal functions
python-instance-check-type: Internal functions
python-maybe-optional-typing-type: Internal functions
python-message-spec: Exported functions
python-type: Internal functions
python-typing-type: Internal functions

Q
qpurequest-id: Internal generic functions
qpurequest-id: Internal generic functions
qpurequest-patch_values: Internal generic functions
qpurequest-patch_values: Internal generic functions
qpurequest-program: Internal generic functions
qpurequest-program: Internal generic functions

R
randomizedbenchmarkingrequest-depth: Internal generic functions
randomizedbenchmarkingrequest-depth: Internal generic functions
randomizedbenchmarkingrequest-gateset: Internal generic functions
randomizedbenchmarkingrequest-gateset: Internal generic functions
randomizedbenchmarkingrequest-interleaver: Internal generic functions
randomizedbenchmarkingrequest-interleaver: Internal generic functions
randomizedbenchmarkingrequest-qubits: Internal generic functions
randomizedbenchmarkingrequest-qubits: Internal generic functions
randomizedbenchmarkingrequest-seed: Internal generic functions
randomizedbenchmarkingrequest-seed: Internal generic functions
randomizedbenchmarkingresponse-sequence: Internal generic functions
randomizedbenchmarkingresponse-sequence: Internal generic functions
rewritearithmeticrequest-quil: Internal generic functions
rewritearithmeticrequest-quil: Internal generic functions
rewritearithmeticresponse-original_memory_descriptors: Internal generic functions
rewritearithmeticresponse-original_memory_descriptors: Internal generic functions
rewritearithmeticresponse-quil: Internal generic functions
rewritearithmeticresponse-quil: Internal generic functions
rewritearithmeticresponse-recalculation_table: Internal generic functions
rewritearithmeticresponse-recalculation_table: Internal generic functions
rpc-call: Exported functions
rpc-client-p: Internal functions
rpc-client-socket: Internal functions
rpc-client-timeout: Internal functions
rpc-error-request-id: Exported generic functions
rpc-error-request-id: Exported generic functions
rpc-error-string: Exported generic functions
rpc-error-string: Exported generic functions
rpc-protocol-error-id: Exported generic functions
rpc-protocol-error-id: Exported generic functions
rpc-protocol-error-object: Exported generic functions
rpc-protocol-error-object: Exported generic functions
rpcerror-error: Internal generic functions
rpcerror-error: Internal generic functions
rpcerror-id: Internal generic functions
rpcerror-id: Internal generic functions
rpcerror-jsonrpc: Internal generic functions
rpcerror-jsonrpc: Internal generic functions
rpcerror-warnings: Internal generic functions
rpcerror-warnings: Internal generic functions
rpcreply-id: Internal generic functions
rpcreply-id: Internal generic functions
rpcreply-jsonrpc: Internal generic functions
rpcreply-jsonrpc: Internal generic functions
rpcreply-result: Internal generic functions
rpcreply-result: Internal generic functions
rpcreply-warnings: Internal generic functions
rpcreply-warnings: Internal generic functions
rpcrequest-id: Internal generic functions
rpcrequest-id: Internal generic functions
rpcrequest-jsonrpc: Internal generic functions
rpcrequest-jsonrpc: Internal generic functions
rpcrequest-method: Internal generic functions
rpcrequest-method: Internal generic functions
rpcrequest-params: Internal generic functions
rpcrequest-params: Internal generic functions
rpcwarning-body: Internal generic functions
rpcwarning-body: Internal generic functions
rpcwarning-kind: Internal generic functions
rpcwarning-kind: Internal generic functions

S
sanitize-name: Internal functions
serialize: Exported functions
slot-type-and-initform: Internal functions
start-server: Exported functions
str->lisp-keyword: Internal functions

T
targetdevice-isa: Internal generic functions
targetdevice-isa: Internal generic functions
targetdevice-specs: Internal generic functions
targetdevice-specs: Internal generic functions
to-octets: Internal functions
to-string: Internal functions

U
unknown-rpc-method-name: Exported generic functions
unknown-rpc-method-name: Exported generic functions
unpack-foreign-msg-to-bytes: Internal functions

W
with-rpc-client: Exported macros
with-unique-rpc-address: Exported macros

Jump to:   %   (  
B   C   D   F   G   M   N   P   Q   R   S   T   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
A   B   C   D   E   F   G   I   J   K   L   M   N   O   P   Q   R   S   T   W  
Index Entry  Section

*
*messages*: Internal special variables
*mocked-namespace*: Internal special variables
*python-instance-check-types*: Internal special variables
*python-types*: Internal special variables

A
attributes: Internal classes

B
body: Internal classes

C
clifford: Internal classes

D
depth: Internal classes

E
error: Internal classes
error-string: Exported conditions

F
final_rewiring: Internal classes

G
gateset: Internal classes
gate_depth: Internal classes
gate_volume: Internal classes

I
id: Exported conditions
id: Internal classes
id: Internal classes
id: Internal classes
id: Internal classes
index: Internal classes
indices: Internal classes
interleaver: Internal classes
isa: Internal classes

J
jsonrpc: Internal classes
jsonrpc: Internal classes
jsonrpc: Internal classes

K
kind: Internal classes

L
length: Internal classes

M
memory_descriptors: Internal classes
metadata: Internal classes
method: Internal classes
method-name: Exported conditions
multiqubit_gate_depth: Internal classes

N
name: Internal classes
num_shots: Internal classes

O
object: Exported conditions
object: Exported conditions
original_memory_descriptors: Internal classes

P
params: Internal classes
patch_offset: Internal classes
patch_type: Internal classes
patch_values: Internal classes
pauli: Internal classes
pauli: Internal classes
phase: Internal classes
program: Internal classes
program: Internal classes
program: Internal classes
program_duration: Internal classes
program_fidelity: Internal classes

Q
qpu_runtime_estimation: Internal classes
qubits: Internal classes
quil: Internal classes
quil: Internal classes
quil: Internal classes
quil: Internal classes
quil: Internal classes

R
recalculation_table: Internal classes
request-id: Exported conditions
result: Internal classes
ro_sources: Internal classes

S
seed: Internal classes
sequence: Internal classes
Slot, attributes: Internal classes
Slot, body: Internal classes
Slot, clifford: Internal classes
Slot, depth: Internal classes
Slot, error: Internal classes
Slot, error-string: Exported conditions
Slot, final_rewiring: Internal classes
Slot, gateset: Internal classes
Slot, gate_depth: Internal classes
Slot, gate_volume: Internal classes
Slot, id: Exported conditions
Slot, id: Internal classes
Slot, id: Internal classes
Slot, id: Internal classes
Slot, id: Internal classes
Slot, index: Internal classes
Slot, indices: Internal classes
Slot, interleaver: Internal classes
Slot, isa: Internal classes
Slot, jsonrpc: Internal classes
Slot, jsonrpc: Internal classes
Slot, jsonrpc: Internal classes
Slot, kind: Internal classes
Slot, length: Internal classes
Slot, memory_descriptors: Internal classes
Slot, metadata: Internal classes
Slot, method: Internal classes
Slot, method-name: Exported conditions
Slot, multiqubit_gate_depth: Internal classes
Slot, name: Internal classes
Slot, num_shots: Internal classes
Slot, object: Exported conditions
Slot, object: Exported conditions
Slot, original_memory_descriptors: Internal classes
Slot, params: Internal classes
Slot, patch_offset: Internal classes
Slot, patch_type: Internal classes
Slot, patch_values: Internal classes
Slot, pauli: Internal classes
Slot, pauli: Internal classes
Slot, phase: Internal classes
Slot, program: Internal classes
Slot, program: Internal classes
Slot, program: Internal classes
Slot, program_duration: Internal classes
Slot, program_fidelity: Internal classes
Slot, qpu_runtime_estimation: Internal classes
Slot, qubits: Internal classes
Slot, quil: Internal classes
Slot, quil: Internal classes
Slot, quil: Internal classes
Slot, quil: Internal classes
Slot, quil: Internal classes
Slot, recalculation_table: Internal classes
Slot, request-id: Exported conditions
Slot, result: Internal classes
Slot, ro_sources: Internal classes
Slot, seed: Internal classes
Slot, sequence: Internal classes
Slot, socket: Internal structures
Slot, specs: Internal classes
Slot, symbols: Internal classes
Slot, target_device: Internal classes
Slot, timeout: Internal structures
Slot, topological_swaps: Internal classes
Slot, type: Internal classes
Slot, warnings: Internal classes
Slot, warnings: Internal classes
socket: Internal structures
Special Variable, *messages*: Internal special variables
Special Variable, *mocked-namespace*: Internal special variables
Special Variable, *python-instance-check-types*: Internal special variables
Special Variable, *python-types*: Internal special variables
specs: Internal classes
symbols: Internal classes

T
target_device: Internal classes
timeout: Internal structures
topological_swaps: Internal classes
type: Internal classes

W
warnings: Internal classes
warnings: Internal classes

Jump to:   *  
A   B   C   D   E   F   G   I   J   K   L   M   N   O   P   Q   R   S   T   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   B   C   D   N   P   Q   R   S   T   U  
Index Entry  Section

A
atom-type: Internal types

B
binaryexecutablerequest: Internal classes
binaryexecutableresponse: Internal classes

C
Class, binaryexecutablerequest: Internal classes
Class, binaryexecutableresponse: Internal classes
Class, conjugatebycliffordrequest: Internal classes
Class, conjugatebycliffordresponse: Internal classes
Class, nativequilmetadata: Internal classes
Class, nativequilrequest: Internal classes
Class, nativequilresponse: Internal classes
Class, parameteraref: Internal classes
Class, parameterspec: Internal classes
Class, patchtarget: Internal classes
Class, pauliterm: Internal classes
Class, pyquilexecutableresponse: Internal classes
Class, qpurequest: Internal classes
Class, randomizedbenchmarkingrequest: Internal classes
Class, randomizedbenchmarkingresponse: Internal classes
Class, rewritearithmeticrequest: Internal classes
Class, rewritearithmeticresponse: Internal classes
Class, rpcerror: Internal classes
Class, rpcreply: Internal classes
Class, rpcrequest: Internal classes
Class, rpcwarning: Internal classes
Class, targetdevice: Internal classes
Condition, not-an-rpcrequest: Exported conditions
Condition, rpc-error: Exported conditions
Condition, rpc-protocol-error: Exported conditions
Condition, unknown-rpc-method: Exported conditions
conjugatebycliffordrequest: Internal classes
conjugatebycliffordresponse: Internal classes

D
dispatch-table: Internal types

N
nativequilmetadata: Internal classes
nativequilrequest: Internal classes
nativequilresponse: Internal classes
not-an-rpcrequest: Exported conditions

P
Package, rpcq: The rpcq package
parameteraref: Internal classes
parameterspec: Internal classes
patchtarget: Internal classes
pauliterm: Internal classes
pyquilexecutableresponse: Internal classes

Q
qpurequest: Internal classes

R
randomizedbenchmarkingrequest: Internal classes
randomizedbenchmarkingresponse: Internal classes
rewritearithmeticrequest: Internal classes
rewritearithmeticresponse: Internal classes
rpc-client: Internal structures
rpc-error: Exported conditions
rpc-protocol-error: Exported conditions
rpcerror: Internal classes
rpcq: The rpcq system
rpcq: The rpcq package
rpcreply: Internal classes
rpcrequest: Internal classes
rpcwarning: Internal classes

S
Structure, rpc-client: Internal structures
System, rpcq: The rpcq system

T
targetdevice: Internal classes
Type, atom-type: Internal types
Type, dispatch-table: Internal types

U
unknown-rpc-method: Exported conditions

Jump to:   A   B   C   D   N   P   Q   R   S   T   U