qcs 0.26.1

High level interface for running Quil on a QPU
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import asyncio

import pytest

from qcs_sdk import diagnostics

@pytest.mark.qcs_session
def test_get_report():
    """The async and sync reports are the same, and are generated without panicing."""

    async def async_report():
        return await diagnostics.get_report_async()

    assert diagnostics.get_report() == asyncio.run(async_report())