Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QPUAPI ¶
type QPUAPI interface { Query(pbQPU.QPU_QueryServer, *pbQPU.RequestStream) error GetConfig() (*pbQPU.ConfigResponse, error) Cleanup() GetDataTransfer() float32 }
QPUAPI specifies the API of a QPU
type QPUServer ¶
type QPUServer struct {
// contains filtered or unexported fields
}
QPUServer implements a generic QPU server api: config:
func (*QPUServer) GetConfig ¶
func (s *QPUServer) GetConfig(ctx context.Context, in *pbQPU.ConfigRequest) (*pbQPU.ConfigResponse, error)
GetConfig constructs and returns a structure describing the configuration of a QPU
func (*QPUServer) GetDataTransfer ¶
func (s *QPUServer) GetDataTransfer(ctx context.Context, in *pbQPU.GetDataRequest) (*pbQPU.DataTransferResponse, error)
Click to show internal directories.
Click to hide internal directories.