Introduction

The job represents a 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 the execution of a quantum computation task on a CUDA node, using a simulator.

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:
            limits:
              nvidia.com/gpu: 1