Skip to content

Commit

Permalink
Debugging test
Browse files Browse the repository at this point in the history
  • Loading branch information
idavis committed Sep 27, 2024
1 parent 9eac82c commit e40122c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azure-quantum/tests/unit/test_qiskit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1868,6 +1868,10 @@ def test_qiskit_endianness_submit_to_qci(

if JobStatus.DONE == qiskit_job.status():
result = qiskit_job.result()
from qsharp.interop.qiskit import QSharpBackend
from qsharp import TargetProfile
qir = QSharpBackend(target_profile=TargetProfile.Adaptive_RI).qir(circuit)
print(qir)
print(result)
self.assertEqual(sum(result.data()["counts"].values()), shots)
self.assertEqual(result.data()["counts"][expectation], shots)
Expand Down

0 comments on commit e40122c

Please sign in to comment.