Skip to content

Commit

Permalink
Update FakeWashington backend with new API snapshots (#7731)
Browse files Browse the repository at this point in the history
The FakeWashington backend was recently added in #7392 but when that PR
was created the washington device was missing it's pulse defaults
payload. Since that PR was first created the IBM API is now returing a
pulse defaults payload. This commit updates the FakeWashington backend
to use current snapshots which includes the missing data. It is then
changed to be a pulse backend now that we have the defaults payload
available.
  • Loading branch information
mtreinish authored Mar 3, 2022
1 parent 9a757c8 commit 0be2c44
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qiskit/test/mock/backends/washington/conf_washington.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions qiskit/test/mock/backends/washington/defs_washington.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions qiskit/test/mock/backends/washington/fake_washington.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
"""

import os
from qiskit.test.mock import fake_qasm_backend
from qiskit.test.mock import fake_pulse_backend


class FakeWashington(fake_qasm_backend.FakeQasmBackend):
class FakeWashington(fake_pulse_backend.FakePulseBackend):
"""A fake 127 qubit backend."""

dirname = os.path.dirname(__file__)
conf_filename = "conf_washington.json"
props_filename = "props_washington.json"
defs_filename = "defs_washington.json"
backend_name = "fake_washington"
2 changes: 1 addition & 1 deletion qiskit/test/mock/backends/washington/props_washington.json

Large diffs are not rendered by default.

0 comments on commit 0be2c44

Please sign in to comment.