{"id":21039,"library":"cirq-aqt","title":"Cirq AQT","description":"A Cirq package to simulate and connect to Alpine Quantum Technologies (AQT) quantum computers. Version 1.6.1 is the current stable release, part of Cirq v1.6.1. Released as needed alongside Cirq core.","status":"active","version":"1.6.1","language":"python","source_language":"en","source_url":"https://github.com/quantumlib/cirq","tags":["quantum computing","simulation","AQT","cirq","quantum"],"install":[{"cmd":"pip install cirq-aqt","lang":"bash","label":"install"},{"cmd":"pip install cirq-aqt==1.6.1","lang":"bash","label":"pin version"}],"dependencies":[{"reason":"Core Cirq functionality","package":"cirq-core","optional":false},{"reason":"Full Suite (optional meta-package)","package":"cirq","optional":true}],"imports":[{"note":"cirq-aqt is a separate package; import from cirq_aqt, not cirq.aqt.","wrong":"from cirq.aqt import AQTSimulator","symbol":"AQTSimulator","correct":"from cirq_aqt import AQTSimulator"},{"note":"AQTSampler is in the cirq_aqt namespace.","wrong":"from cirq import AQTSampler","symbol":"AQTSampler","correct":"from cirq_aqt import AQTSampler"},{"note":"","wrong":"","symbol":"get_aqt_device","correct":"from cirq_aqt import get_aqt_device"},{"note":"","wrong":"","symbol":"AQTFuture","correct":"from cirq_aqt import AQTFuture"}],"quickstart":{"code":"import cirq\nfrom cirq_aqt import AQTSimulator\n\n# Create a simple circuit\nq0, q1 = cirq.LineQubit.range(2)\ncircuit = cirq.Circuit([\n    cirq.H(q0),\n    cirq.CNOT(q0, q1),\n    cirq.measure(q0, q1, key='result')\n])\n\n# Simulate\nsim = AQTSimulator()\nresult = sim.simulate(circuit)\nprint(result)","lang":"python","description":"Basic simulation using AQTSimulator."},"warnings":[{"fix":"Use cirq.Simulator() for local simulation instead of AQTSimulator().","message":"AQTSimulator is deprecated in favor of cirq.Simulator (from cirq-core) for local simulation. AQTSimulator may be removed in a future release.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Provide host and access_token parameters or set environment variables AQT_HOST and AQT_ACCESS_TOKEN.","message":"AQTSampler requires valid API credentials (host, access_token) to connect to AQT hardware. Without proper auth, it raises an authentication error.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade Python to 3.11+ or use an older version of cirq-aqt (e.g., pip install cirq-aqt==1.5.0).","message":"Cirq v1.6.0 dropped support for Python <3.11. Make sure your environment is using Python 3.11 or later.","severity":"breaking","affected_versions":">=1.6.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install cirq-aqt: pip install cirq-aqt. Then import using 'from cirq_aqt import ...'.","cause":"The cirq-aqt package is not installed or imported incorrectly.","error":"ModuleNotFoundError: No module named 'cirq_aqt'"},{"fix":"Use 'from cirq_aqt import AQTSimulator' instead of 'from cirq import AQTSimulator'.","cause":"Importing from cirq instead of cirq_aqt.","error":"AttributeError: module 'cirq' has no attribute 'AQTSimulator'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}