QCentroid library to interact with Qiskit
pip install qcentroid-runtime-qiskit
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()