{"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,"search_vec":"'1.6.1':18 'alongsid':31 'alpin':11 'aqt':2,14,37 'cirq':1,4,26,32,38 'comput':16,35 'connect':9 'core':33 'current':21 'need':30 'packag':5 'part':24 'quantum':12,15,34,39 'releas':23,28 'simul':7,36 'stabl':22 'technolog':13 'v1.6.1':27 'version':17","created_at":"2026-04-27T16:57:45.709100+00:00","updated_at":"2026-04-27T16:57:45.709100+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.6.1","cli_name":"","cli_version":null,"type":"library","homepage":"https://quantumai.google/cirq","github":"http://github.com/quantumlib/cirq","docs":null,"changelog":null,"pypi":"https://pypi.org/project/cirq-aqt/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-28","install_tag":null}}