Skip to content
Back to skills

Tensor Ops And Execution

ASecurity

"Route TFQ tensor conversion, raw execution-op getters, backend

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolsapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill tensor-ops-and-execution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tensor Ops And Execution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tensor Ops And Execution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-tensor-ops-and-execution/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-tensor-ops-and-execution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tensor-ops-and-execution
description: "Route TFQ tensor conversion, raw execution-op getters, backend
  choice, parameter resolution, noisy execution, math helpers, and util-helper
  questions here."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Tensor Ops and Execution

Use this sub-skill when the user is working directly with TFQ tensors or raw
execution helpers:

- `tfq.convert_to_tensor` and `tfq.from_tensor`
- `tfq.get_expectation_op`, `tfq.get_sampled_expectation_op`,
  `tfq.get_sampling_op`, and `tfq.get_state_op`
- `tfq.get_unitary_op` / `tfq.core.ops.tfq_unitary_op.get_unitary_op`
- `tfq.append_circuit`, `tfq.resolve_parameters`
- `tfq.padded_to_ragged` and `tfq.padded_to_ragged2d`
- `tfq.noise.expectation`, `tfq.noise.sampled_expectation`, and
  `tfq.noise.samples`
- `tfq.math.inner_product`, `tfq.math.fidelity`,
  `tfq.math.mps_1d_expectation`, `tfq.math.mps_1d_sample`, and
  `tfq.math.mps_1d_sampled_expectation`
- `tfq.get_quantum_concurrent_op_mode` and `tfq.set_quantum_concurrent_op_mode`
- `tfq.util.get_supported_gates`, `tfq.util.get_supported_channels`,
  `tfq.util.get_circuit_symbols`, and `tfq.util.exponential`

Typical user prompts here ask how to:

- turn Cirq circuits or Pauli sums into TFQ tensors and back
- choose the right backend for expectation, sampling, state, or unitary ops
- resolve symbols or append circuits before execution
- understand tensor rank, batch-size, symbol, or operator mismatches
- decide between noiseless and noisy execution paths

Do not route here for Keras layer assembly, differentiators or optimizers,
or dataset/tutorial workflows.

For exact signatures and behavior, read `references/api-reference.md`.
For usage patterns, read `references/workflows.md`.
For error recovery, read `references/troubleshooting.md`.

Files in this skill

  • SKILL.md1.8 KB
  • references/api-reference.md8.5 KB
  • references/troubleshooting.md6.2 KB
  • references/workflows.md5.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.