Skip to content

RootReap3r/QuantumCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ibm-quantum-auth-test

Minimal auth + round-trip execution check for IBM Quantum Runtime. Confirms credentials work, enumerates visible backends, and submits a 2-qubit Bell state circuit to the least-busy real QPU to prove job execution end-to-end (not just successful auth).

Setup

pip install -r requirements.txt

Credentials, in order of precedence:

  • Env vars: IBM_QUANTUM_TOKEN, IBM_QUANTUM_CRN, IBM_QUANTUM_CHANNEL
  • Interactive prompt (via getpass, no terminal echo) if unset

Usage

python src/quantum_auth_test.py --channel ibm_quantum_platform

--channel accepts ibm_quantum_platform (default), ibm_cloud, or ibm_quantum.

Output

  • List of visible backends with qubit count and status
  • Job ID for the submitted Bell state circuit
  • Measurement counts from the 1024-shot result

Notes

  • CRN/instance is required for ibm_cloud-style auth; format depends on channel.
  • least_busy(simulator=False) targets real hardware — expect queue time.

About

One line, GitHub's short-description field: `Auth + round-trip execution test for IBM Quantum Runtime — verifies credentials, lists backends, submits a Bell state job to confirm end-to-end job execution.`

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages