[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F83CZ3TWDV0857F7K9R89T":3,"skill-same:01M7F83CZ3TWDV0857F7K9R89T":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7F83CZ3TWDV0857F7K9R89T","hardware-providers-and-serialization",null,"Use Cirq provider packages, provider-safe serialization, and browser visualization workflows without accidental live hardware calls.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcirq\u002Fsub-skills\u002Fhardware-providers-and-serialization\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: hardware-providers-and-serialization\ndescription: \"Use Cirq provider packages, provider-safe serialization, and\n  browser visualization workflows without accidental live hardware calls.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Cirq hardware providers and serialization\n\nUse this sub-skill when a task touches Cirq provider packages, hardware-facing samplers, provider serializers, credentials, JSON persistence, or `cirq_web` visualization. Default to offline inspection and validation; make live service calls only when the user explicitly supplies credentials, project\u002Fprocessor\u002Ftarget details, and permission to contact the service.\n\n## Use this when\n\n- Working with `cirq_google.Engine`, `get_engine_sampler`, Google devices such as `Sycamore` or `Willow105`, Google target gatesets, serializers, or workflow objects.\n- Preparing IonQ circuits with `cirq_ionq.Service`, `cirq_ionq.Sampler`, IonQ serializers, or IonQ target gatesets.\n- Using AQT `AQTSampler`, `AQTSamplerLocalSimulator`, workspace\u002Fresource\u002Ftoken concepts, or AQT-local validation.\n- Using Pasqal `PasqalSampler`, `PasqalDevice`, `PasqalVirtualDevice`, `TwoDQubit`, or `ThreeDQubit`.\n- Rendering provider-adjacent visualizations with `cirq_web.Circuit3D`, widgets, or offline HTML representations.\n- Persisting or exchanging Cirq objects with `cirq.to_json`, `cirq.read_json`, provider JSON resolvers, or custom serialization hooks.\n\n## Route elsewhere\n\n- Generic qubits, gates, operations, circuit construction, parameters, diagrams, or JSON basics: `core-circuits-and-ops`.\n- Local simulator-only studies, noisy simulation, histograms, sweeps, or result analysis: `simulation-study-and-noise`.\n- Decomposing unsupported gates, routing to a topology, or compiling to target gatesets before provider packaging: `transformers-and-compilation`.\n- Algorithm design or observable expectation workflows before hardware packaging: `algorithms-and-observables`.\n\n## Reference map\n\n- Start with [Provider API reference](references\u002Fprovider-api-reference.md) for public package boundaries, key signatures, devices, samplers, serializers, target gatesets, and widget objects.\n- Use [Provider and visualization workflows](references\u002Fprovider-and-visualization-workflows.md) for offline packaging, credential gates, live-run stop conditions, and `cirq_web` usage.\n- Use [Serialization](references\u002Fserialization.md) for `cirq.to_json`, `cirq.read_json`, custom resolvers, provider resolver registration, and distinctions between Cirq JSON and provider API serialization.\n- Use [Troubleshooting](references\u002Ftroubleshooting.md) for missing optional packages, absent credentials, project\u002Ftarget errors, unsupported gates, resolver failures, and browser\u002Ffrontend limitations.\n\n## Bundled safe helper\n\nRun the deterministic helper to inspect installed provider packages and perform an optional JSON\u002Fwidget smoke check without network or credentials:\n\n```bash\npython scripts\u002Finspect_provider_imports.py --help\npython scripts\u002Finspect_provider_imports.py\npython scripts\u002Finspect_provider_imports.py --check-widget-html\n```\n\nThe helper imports provider packages, reports sanitized public signatures, can round-trip a tiny circuit with Cirq JSON, and never creates live cloud jobs, opens sockets, prints token values, or reads any source checkout.\n\n## Operating guardrails\n\n- Treat cloud access as opt-in. Stop before `run`, `run_sweep`, `create_job`, `list_*`, `get_*`, resource discovery, or sampler execution unless the user explicitly authorizes a live service call.\n- Separate three phases: circuit construction, offline provider validation\u002Fserialization, then credentialed submission. Route construction and compilation to their sub-skills before submission.\n- Never store API tokens, project secrets, or credential file contents in Cirq JSON, notebooks, logs, or bundled scripts.\n- Prefer provider serializers, device validation, and target gatesets for offline rejection of unsupported gates; use the transformers sub-skill when conversion is needed.\n- For `cirq_web`, assume a local browser or notebook display is optional. Validate by generating an HTML representation, not by requiring WebGL, Node, npm, or a browser automation stack.\n","# Cirq hardware providers and serialization\n\nUse this sub-skill when a task touches Cirq provider packages, hardware-facing samplers, provider serializers, credentials, JSON persistence, or `cirq_web` visualization. Default to offline inspection and validation; make live service calls only when the user explicitly supplies credentials, project\u002Fprocessor\u002Ftarget details, and permission to contact the service.\n\n## Use this when\n\n- Working with `cirq_google.Engine`, `get_engine_sampler`, Google devices such as `Sycamore` or `Willow105`, Google target gatesets, serializers, or workflow objects.\n- Preparing IonQ circuits with `cirq_ionq.Service`, `cirq_ionq.Sampler`, IonQ serializers, or IonQ target gatesets.\n- Using AQT `AQTSampler`, `AQTSamplerLocalSimulator`, workspace\u002Fresource\u002Ftoken concepts, or AQT-local validation.\n- Using Pasqal `PasqalSampler`, `PasqalDevice`, `PasqalVirtualDevice`, `TwoDQubit`, or `ThreeDQubit`.\n- Rendering provider-adjacent visualizations with `cirq_web.Circuit3D`, widgets, or offline HTML representations.\n- Persisting or exchanging Cirq objects with `cirq.to_json`, `cirq.read_json`, provider JSON resolvers, or custom serialization hooks.\n\n## Route elsewhere\n\n- Generic qubits, gates, operations, circuit construction, parameters, diagrams, or JSON basics: `core-circuits-and-ops`.\n- Local simulator-only studies, noisy simulation, histograms, sweeps, or result analysis: `simulation-study-and-noise`.\n- Decomposing unsupported gates, routing to a topology, or compiling to target gatesets before provider packaging: `transformers-and-compilation`.\n- Algorithm design or observable expectation workflows before hardware packaging: `algorithms-and-observables`.\n\n## Reference map\n\n- Start with [Provider API reference](references\u002Fprovider-api-reference.md) for public package boundaries, key signatures, devices, samplers, serializers, target gatesets, and widget objects.\n- Use [Provider and visualization workflows](references\u002Fprovider-and-visualization-workflows.md) for offline packaging, credential gates, live-run stop conditions, and `cirq_web` usage.\n- Use [Serialization](references\u002Fserialization.md) for `cirq.to_json`, `cirq.read_json`, custom resolvers, provider resolver registration, and distinctions between Cirq JSON and provider API serialization.\n- Use [Troubleshooting](references\u002Ftroubleshooting.md) for missing optional packages, absent credentials, project\u002Ftarget errors, unsupported gates, resolver failures, and browser\u002Ffrontend limitations.\n\n## Bundled safe helper\n\nRun the deterministic helper to inspect installed provider packages and perform an optional JSON\u002Fwidget smoke check without network or credentials:\n\n```bash\npython scripts\u002Finspect_provider_imports.py --help\npython scripts\u002Finspect_provider_imports.py\npython scripts\u002Finspect_provider_imports.py --check-widget-html\n```\n\nThe helper imports provider packages, reports sanitized public signatures, can round-trip a tiny circuit with Cirq JSON, and never creates live cloud jobs, opens sockets, prints token values, or reads any source checkout.\n\n## Operating guardrails\n\n- Treat cloud access as opt-in. Stop before `run`, `run_sweep`, `create_job`, `list_*`, `get_*`, resource discovery, or sampler execution unless the user explicitly authorizes a live service call.\n- Separate three phases: circuit construction, offline provider validation\u002Fserialization, then credentialed submission. Route construction and compilation to their sub-skills before submission.\n- Never store API tokens, project secrets, or credential file contents in Cirq JSON, notebooks, logs, or bundled scripts.\n- Prefer provider serializers, device validation, and target gatesets for offline rejection of unsupported gates; use the transformers sub-skill when conversion is needed.\n- For `cirq_web`, assume a local browser or notebook display is optional. Validate by generating an HTML representation, not by requiring WebGL, Node, npm, or a browser automation stack.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fcirq\u002Fsub-skills\u002Fhardware-providers-and-serialization",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill hardware-providers-and-serialization",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill hardware-providers-and-serialization",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill hardware-providers-and-serialization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcirq\u002Fsub-skills\u002Fhardware-providers-and-serialization\u002FSKILL.md",[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fprovider-and-visualization-workflows.md","REFERENCE","参考文档",8751,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcirq\u002Fsub-skills\u002Fhardware-providers-and-serialization\u002Freferences\u002Fprovider-and-visualization-workflows.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fprovider-api-reference.md",10638,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcirq\u002Fsub-skills\u002Fhardware-providers-and-serialization\u002Freferences\u002Fprovider-api-reference.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fserialization.md",7489,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcirq\u002Fsub-skills\u002Fhardware-providers-and-serialization\u002Freferences\u002Fserialization.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Ftroubleshooting.md",8394,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcirq\u002Fsub-skills\u002Fhardware-providers-and-serialization\u002Freferences\u002Ftroubleshooting.md",[68,76,81,88,95,102],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":77,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]