Use an API key to submit jobs from the qly Python SDK, its CLI, or any HTTP client. Keys spend your account's prepaid balance, so jobs you run with them are billed to you.
pip install qly-sdk
from qly import Qly
client = Qly(api_key="qly_live_...")
job = client.run(
qasm='''OPENQASM 2.0;
include "qelib1.inc";
qreg q[2]; creg c[2];
h q[0]; cx q[0],q[1];
measure q -> c;''',
provider="ionq",
device="simulator",
shots=1024,
)
print(job.counts)