executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
transformers-and-compilationUse Cirq transformers, target gatesets, and routing workflows to compile circuits to gate and topology constraints.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task needs Cirq circuit transformations rather than raw circuit construction, simulation, provider submission, or algorithm design.
@cirq.transformer functions/classes.cirq.TransformerContext, transformer logging, ignored tags, or deep CircuitOperation handling.drop_empty_moments, merge_single_qubit_gates_to_phxz, eject_z, expand_composite, or optimize_for_target_gateset.cirq.CompilationTargetGateset implementations such as cirq.CZTargetGateset, cirq.SqrtIswapTargetGateset, or offline cirq_google.SycamoreTargetGateset.cirq.RouteCQC, cirq.LineInitialMapper, hard-coded initial mappings, named topologies, or physical device graphs.core-circuits-and-ops.simulation-study-and-noise.hardware-providers-and-serialization.algorithms-and-observables.RouteCQC, named topologies, placements, and provider-gateset cross-links.Run the deterministic helper when you need a quick offline sanity check of the installed Cirq transformer stack:
python scripts/inspect_transformer_pipeline.py --help
python scripts/inspect_transformer_pipeline.py --target cz
python scripts/inspect_transformer_pipeline.py --target sycamore
The helper builds a tiny local circuit, applies a short transformer pipeline, compiles to a target gateset, and performs a local unitary equivalence check. It never contacts provider services.
ignore_failures=False while debugging target-gateset conversion so unsupported operations do not remain silently.TransformerContext(tags_to_ignore=...) for protected/no-compile operations and TransformerContext(deep=True) only when nested CircuitOperation bodies must be transformed.hardware-providers-and-serialization after offline compilation checks.