qpu

package
v0.0.0-...-726f7ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQPUService

func NewQPUService(configFile string) (libqpu.QPUService, error)

NewQPUService is responsible for initializing all QPU components and starting the QPU service. This includes:

  • Reading the configuration file
  • Requesting the capabilities of adjacent QPUs in the graph
  • Initializing the state backend store (if any)
  • Initializing the class - specific query processing and response record handling logic (apiserver)
  • Starting the API server for receiving requests

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service represents a QPU service

func (Service) Shutdown

func (s Service) Shutdown()

Shutdown prepares the QPU service for graceful shutdown

func (Service) Start

func (s Service) Start() error

Start starts the QPU's rpcServer. After this point the QPU can receive requests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL