Tamil
மொழிகள்
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

FakeJohannesburg

class FakeJohannesburg[source]

Bases: FakeQasmBackend

A fake Johannesburg backend.

00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
 ↕                   ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
 ↕         ↕         ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
 ↕                   ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19

FakeBackend initializer.

Parameters
  • configuration (BackendConfiguration) -- backend configuration

  • time_alive (int) -- time to wait before returning result

Methods

configuration

Return the backend configuration.

name

Return the backend name.

properties

Returns a snapshot of device properties

provider

Return the backend Provider.

run

Main job in simulator

set_options

Set the options fields for the backend

status

Return the backend status.

Attributes

backend_name = 'fake_johannesburg'
conf_filename = 'conf_johannesburg.json'
dirname = '/opt/hostedtoolcache/Python/3.8.17/x64/lib/python3.8/site-packages/qiskit/providers/fake_provider/backends/johannesburg'
options

Return the options for the backend

The options of a backend are the dynamic parameters defining how the backend is used. These are used to control the run() method.

props_filename = 'props_johannesburg.json'
version = 1