Shortcuts

qiskit.providers.ibmq.credentials.Credentials

class Credentials(token, url, websockets_url=None, hub=None, group=None, project=None, proxies=None, verify=True, services=None)[소스]

IBM Quantum Experience account credentials.

참고

By convention, two credentials that have the same hub, group, and project are considered equivalent, regardless of other attributes.

Credentials constructor.

매개변수
  • token (str) – IBM Quantum Experience API token.

  • url (str) – IBM Quantum Experience URL.

  • websockets_url (Optional[str]) – URL for websocket server.

  • hub (Optional[str]) – The hub to use.

  • group (Optional[str]) – The group to use.

  • project (Optional[str]) – The project to use.

  • proxies (Optional[Dict]) – Proxy configuration.

  • verify (bool) – If False, ignores SSL certificates errors.

  • services (Optional[Dict]) – Additional services for this account.

__init__(token, url, websockets_url=None, hub=None, group=None, project=None, proxies=None, verify=True, services=None)[소스]

Credentials constructor.

매개변수
  • token (str) – IBM Quantum Experience API token.

  • url (str) – IBM Quantum Experience URL.

  • websockets_url (Optional[str]) – URL for websocket server.

  • hub (Optional[str]) – The hub to use.

  • group (Optional[str]) – The group to use.

  • project (Optional[str]) – The project to use.

  • proxies (Optional[Dict]) – Proxy configuration.

  • verify (bool) – If False, ignores SSL certificates errors.

  • services (Optional[Dict]) – Additional services for this account.

Methods

__init__(token, url[, websockets_url, hub, …])

Credentials constructor.

connection_parameters()

Construct connection related parameters.

is_ibmq()

Return whether the credentials represent an IBM Quantum Experience account.

unique_id()

Return a value that uniquely identifies these credentials.

connection_parameters()[소스]

Construct connection related parameters.

반환 형식

Dict[str, Any]

반환값

A dictionary with connection-related parameters in the format expected by requests. The following keys can be present: proxies, verify, and auth.

is_ibmq()[소스]

Return whether the credentials represent an IBM Quantum Experience account.

반환 형식

bool

unique_id()[소스]

Return a value that uniquely identifies these credentials.

By convention, two credentials that have the same hub, group, and project are considered equivalent.

반환 형식

HubGroupProject

반환값

A HubGroupProject instance.

당신은 다음 언어로 문서를 보고 있다 lang: Korean
언어
English
Japanese
German
Korean