Skip to content

Implement tests for IonQ runtime provider #624

Description

@ryanhill1

We need to add test cases for all classes within the qbraid.runtime.ionq module.

To develop these tests, I highly recommend getting an IonQ access key so you can run actual jobs. You can do so simply by making an account at: https://ionq.com/quantum-cloud. Submitting jobs to their simulator device is free.

If you would rather not make an account, it would be possible to write these tests just using the IonQ API reference: https://docs.ionq.com/api-reference/v0.3/introduction.

Regardless of your approach, before merging, we will want these test cases to be runnable without an IonQ access key. The easiest way to achieve this is to use unittest.mock to replicate the responses from the IonQ server.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api 📡Requests to qBraid APItesting 🧪Updates, changes to unit tests and coverageunitaryhackBountied issue for Unitary Hack

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions