Introduction
The job represents an quantum computation task that is mapped to a Kubernetes Job.
Specification
The job specification needs to explicitly request the needed computational resources. The following example shows how to request a QPU resource for a quantum computation task.
job.yaml
apiVersion: batch/v1
kind: Job
metadata:
name: quantum-job
spec:
template:
spec:
containers:
- name: quantum-task
image: registry.example.com/program:v1.2.3
command: ["./extrypoint.sh"]
resources:
requests:
qubernetes.dev/qpu: 1