Bloch vector from angles

From XuShuwenn/RedAct · View interactive version

Bloch vector from angles is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Convert Bloch angles (theta, phi) in degrees to Bloch vector components and write signed, rounded results.

How to use this skill

Skill file

Bloch Vector from Angles

Skill to read Bloch sphere angles (theta, phi) given in degrees, compute the Cartesian Bloch vector components (rx, ry, rz), and write the results in a strict, signed, three-decimal format.

When to Use

Core Workflow

  1. Ingest angles
  1. Convert units
  1. Compute components
  1. Stabilize tiny values
  1. Format and write output
  1. (Optional) Angle normalization

Verification

Common Pitfalls

Success Criteria

Optional Script Usage

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.