Skip to content

Commit

Permalink
Remove fake backend coupling map from docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangJunye committed Jun 21, 2022
1 parent 88d6812 commit 3aee7a8
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 137 deletions.
16 changes: 0 additions & 16 deletions qiskit/providers/fake_provider/backends/almaden/fake_almaden.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@

class FakeAlmadenV2(fake_backend.FakeBackendV2):
"""A fake Almaden V2 backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand All @@ -39,14 +31,6 @@ class FakeAlmadenV2(fake_backend.FakeBackendV2):

class FakeAlmaden(fake_pulse_backend.FakePulseBackend):
"""A fake Almaden backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@

class FakeBoeblingenV2(fake_backend.FakeBackendV2):
"""A fake Boeblingen V2 backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand All @@ -39,14 +31,6 @@ class FakeBoeblingenV2(fake_backend.FakeBackendV2):

class FakeBoeblingen(fake_pulse_backend.FakePulseBackend):
"""A fake Boeblingen backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@

class FakeCambridgeV2(fake_backend.FakeBackendV2):
"""A fake Cambridge backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 06
↕ ↕
07 ↔ 08 ↔ 09 ↔ 10 ↔ 11 ↔ 12 ↔ 13 ↔ 14 ↔ 15
↕ ↕ ↕
16 17 18
↕ ↕ ↕
19 ↔ 20 ↔ 21 ↔ 22 ↔ 23 ↔ 24 ↔ 25 ↔ 26 ↔ 27
"""

dirname = os.path.dirname(__file__)
Expand All @@ -40,16 +30,6 @@ class FakeCambridgeV2(fake_backend.FakeBackendV2):

class FakeCambridge(fake_qasm_backend.FakeQasmBackend):
"""A fake Cambridge backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 06
↕ ↕
07 ↔ 08 ↔ 09 ↔ 10 ↔ 11 ↔ 12 ↔ 13 ↔ 14 ↔ 15
↕ ↕ ↕
16 17 18
↕ ↕ ↕
19 ↔ 20 ↔ 21 ↔ 22 ↔ 23 ↔ 24 ↔ 25 ↔ 26 ↔ 27
"""

dirname = os.path.dirname(__file__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@

class FakeJohannesburgV2(fake_backend.FakeBackendV2):
"""A fake Johannesburg V2 backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand All @@ -39,14 +31,6 @@ class FakeJohannesburgV2(fake_backend.FakeBackendV2):

class FakeJohannesburg(fake_pulse_backend.FakePulseBackend):
"""A fake Johannesburg backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ class FakeMelbourne(FakeBackend):
"""A fake 14 qubit backend."""

def __init__(self):
"""
0 ← 1 → 2 → 3 ← 4 ← 5 → 6
↑ ↑ ↑ ↓ ↓ ↓
13 → 12 ← 11 → 10 ← 9 → 8 ← 7
"""
cmap = [
[1, 0],
[1, 2],
Expand Down
20 changes: 0 additions & 20 deletions qiskit/providers/fake_provider/backends/paris/fake_paris.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@

class FakeParisV2(fake_backend.FakeBackendV2):
"""A fake Paris backend.
06 17
↕ ↕
00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23
↕ ↕ ↕
02 13 24
↕ ↕ ↕
03 ↔ 05 ↔ 08 ↔ 11 ↔ 14 ↔ 16 ↔ 19 ↔ 22 ↔ 25 ↔ 26
↕ ↕
09 20
"""

dirname = os.path.dirname(__file__)
Expand All @@ -41,16 +31,6 @@ class FakeParisV2(fake_backend.FakeBackendV2):

class FakeParis(fake_pulse_backend.FakePulseBackend):
"""A fake Paris backend.
06 17
↕ ↕
00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23
↕ ↕ ↕
02 13 24
↕ ↕ ↕
03 ↔ 05 ↔ 08 ↔ 11 ↔ 14 ↔ 16 ↔ 19 ↔ 22 ↔ 25 ↔ 26
↕ ↕
09 20
"""

dirname = os.path.dirname(__file__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@

class FakeSingaporeV2(fake_backend.FakeBackendV2):
"""A fake Singapore backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand All @@ -39,14 +31,6 @@ class FakeSingaporeV2(fake_backend.FakeBackendV2):

class FakeSingapore(fake_pulse_backend.FakePulseBackend):
"""A fake Singapore backend.
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ↕ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕
15 ↔ 16 ↔ 17 ↔ 18 ↔ 19
"""

dirname = os.path.dirname(__file__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ class FakeTenerife(FakeBackend):
"""A fake 5 qubit backend."""

def __init__(self):
"""
1
↙ ↑
0 ← 2 ← 3
↑ ↙
4
"""
cmap = [[1, 0], [2, 0], [2, 1], [3, 2], [3, 4], [4, 2]]

configuration = QasmBackendConfiguration(
Expand Down
9 changes: 0 additions & 9 deletions qiskit/providers/fake_provider/backends/tokyo/fake_tokyo.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ class FakeTokyo(FakeBackend):
"""A fake 20 qubit backend."""

def __init__(self):
"""
00 ↔ 01 ↔ 02 ↔ 03 ↔ 04
↕ ↕ ↕ ↕ ⤫ ↕
05 ↔ 06 ↔ 07 ↔ 08 ↔ 09
↕ ⤫ ↕ ↕ ⤫ ↕
10 ↔ 11 ↔ 12 ↔ 13 ↔ 14
↕ ↕ ⤫ ↕ ⤫ ↕
15 ↔ 16 ↔ 17 18 19
"""
cmap = [
[0, 1],
[0, 5],
Expand Down
12 changes: 0 additions & 12 deletions qiskit/providers/fake_provider/backends/yorktown/fake_yorktown.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@

class FakeYorktownV2(fake_backend.FakeBackendV2):
"""A fake 5 qubit backend.
1
/ |
0 - 2 - 3
| /
4
"""

dirname = os.path.dirname(__file__)
Expand All @@ -36,12 +30,6 @@ class FakeYorktownV2(fake_backend.FakeBackendV2):

class FakeYorktown(fake_qasm_backend.FakeQasmBackend):
"""A fake 5 qubit backend.
1
/ |
0 - 2 - 3
| /
4
"""

dirname = os.path.dirname(__file__)
Expand Down

0 comments on commit 3aee7a8

Please sign in to comment.