qiskit_serverless.core.QiskitFunction¶
- class QiskitFunction(title, provider=None, entrypoint=None, working_dir='./', env_vars=None, dependencies=None, description=None, version=None, tags=None, raw_data=None, image=None, validate=True, schema=None)[source]¶
Serverless QiskitPattern.
- Parameters:
title (
str
) – program nameprovider (
Optional
[str
]) – Qiskit Function provider referenceentrypoint (
Optional
[str
]) – is a script that will be executed as a job ex: job.pyenv_vars (
Optional
[Dict
[str
,str
]]) – env varsdependencies (
Optional
[List
[str
]]) – list of python dependencies to execute a programworking_dir (
Optional
[str
]) – directory where entrypoint file is located (max size 50MB)description (
Optional
[str
]) – description of a programversion (
Optional
[str
]) – version of a program
- __init__(title, provider=None, entrypoint=None, working_dir='./', env_vars=None, dependencies=None, description=None, version=None, tags=None, raw_data=None, image=None, validate=True, schema=None)¶
Methods
__init__
(title[, provider, entrypoint, ...])from_json
(data)Reconstructs QiskitPattern from dictionary.
Attributes
dependencies
description
entrypoint
env_vars
image
provider
raw_data
schema
tags
validate
version
working_dir
title