Skip to main content

Library to interact with qcentroid qiskit runtime

Project description

qcentroid-runtime-qiskit

deploy to pypi Python PyPI CodeFactor

QCentroid library to interact with Qiskit

Install

pip install qcentroid-runtime-qiskit

Use

Simple example

As easy as this:

from qcentroid_runtime_qiskit import QCentroidRuntimeQiskit
import logging

logger = logging.getLogger(__name__)

def main():
    
    # Get the solver details
    QCentroidRuntimeQiskit.get_instance() # with optional params

    logger.info(f"currentVersion:{QCentroidRuntimeQiskit.getVersion()}")
    QCentroidRuntimeQiskit.execute(circuit)
    
    
if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG)
    main() 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qcentroid_runtime_qiskit-0.1.4.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

qcentroid_runtime_qiskit-0.1.4-py3-none-any.whl (13.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page