Invoke function
This document explains how to invoke a function to create a job.
How to invoke
Step 1: Select function to invoke
Step 2: Enter the necessary information in the "Invocation" section
1. Provider:
Depending on the SDK you choose, the providers provided here will also be different
Example:
Qiskit → IBM Quantum and Quapp
Braket → Quapp and Amazon Braket
2. Device:
Displays all devices provided by the provider you previously selected
Including hardware and simulator. Based on the name to distinguish. For simulators there will be “simulator“ in the device's name
3. Shots: the number of times that quantum circuit is run
Default is 1024
Only integers can be entered
4. Input:
Select "form-data":
key: field name (required)
value: the value of the field (not require)
Select "raw": Input can be input as JSON, String, or Integer depend on how you define it in function.
Step 3: Click “Invoke”
After pressing “Invoke” will create 1 job
The latest job will appear at the top of the “Related jobs” table
Job Details
There are 2 ways to enter the Job Details screen:
From Function Details screen
From Provider Details screen
From Function Details
Step 1: From Functions screen → Select function name you want to view
Step 2: At Function Details screen → Jobs are listed by function (That is, even if the Provider is different, it will still be displayed in this job list)
From Provider Details
Step 1: From Providers screen → Select a provider you want to view
Step 2: At Provider Details screen → Jobs invoked at the selected provider will be displayed in the Related Jobs table (That is, even if the function is different, it will still be displayed in this job list)
View Job Details
Step 1: At the Related Jobs table, select the job you want to view
Step 2: Job Details screen contains the following information:
Basic job information: Job id, function name, etc.
Job Files include:
Circuit: quantum circuit diagram
Histogram: result chart
Result: job result as JSON