Skip to content

Commit

Permalink
Merge branch 'master' into add-aws
Browse files Browse the repository at this point in the history
  • Loading branch information
salmma committed Oct 17, 2023
2 parents a4c6824 + 3106d62 commit 83dc5ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
tags: |
# set latest tag for master branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
# set tag when a tag is pushed
type=ref,event=tag
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
Expand Down
Binary file modified app/data/test.db
Binary file not shown.
12 changes: 6 additions & 6 deletions test/test_transpile.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_transpile_hadamard_simulator_file(self):
self.assertEqual(r.status_code, 202)
print(r.headers.get("Location"))

def test_transpile_circuit_lima_file(self):
def test_transpile_circuit_perth_file(self):

# prepare the request
file_path = (os.path.dirname(__file__))+'/data/pattern0-3_1_2nCliffs10seed2.qasm'
Expand All @@ -131,7 +131,7 @@ def test_transpile_circuit_lima_file(self):
request = {
'impl-data': impl_data,
'impl-language': 'openqasm',
'qpu-name': "ibmq_lima",
'qpu-name': "ibm_perth",
'input-params': {},
'token': os.environ["QISKIT_TOKEN"]
}
Expand Down Expand Up @@ -159,13 +159,13 @@ def test_transpile_circuit_lima_file(self):
self.assertEqual(r.status_code, 202)
print(r.headers.get("Location"))

def test_transpile_shor_lima_url_qasm(self):
def test_transpile_shor_perth_url_qasm(self):

# prepare the request
request = {
'impl-url': 'https://quantum-circuit.com/api/get/circuit/KzG7MxH6hpBpM9pCt?format=qasm',
'impl-language': 'OpenQASM',
'qpu-name': "ibmq_lima",
'qpu-name': "ibm_perth",
'input-params': {},
'token': os.environ["QISKIT_TOKEN"]
}
Expand Down Expand Up @@ -355,7 +355,7 @@ def test_noisy_simulator(self):
'impl-language': 'Qiskit',
'qpu-name': "aer_qasm_simulator",
'input-params': {},
"noise_model": "ibmq_lima",
"noise_model": "ibm_perth",
'token': token
}
response = self.client.post('/qiskit-service/api/v1.0/execute', json=request)
Expand All @@ -369,7 +369,7 @@ def test_noisy_de_simulator(self):
'impl-language': 'Qiskit',
'qpu-name': "aer_qasm_simulator",
'input-params': {},
"noise_model": "ibmq_lima",
"noise_model": "ibm_perth",
"only-measurement-errors": "True",
'token': token
}
Expand Down

0 comments on commit 83dc5ae

Please sign in to comment.