Skip to content

qm-dirac-notation-mapper

Domain: qm · Model class: strong

Use this skill when you need to compute all pairwise file overlap integrals and identify which files are most central to the codebase. Trigger phrases include: “compute pairwise file overlaps”, “which files are most central”, “Dirac bra-ket overlap matrix”, “inner product between files”, “which files span the embedding space”, “projection weight of each file”. This skill builds the full n×n overlap matrix ⟨i|j⟩ and ranks files by projection weight. Do NOT use with more than 50 files as the O(n²) cost becomes significant.

Express all pairwise relationships between files as bra-ket inner products, building a full n×n overlap (Gram) matrix. Each file is treated as a ket |file⟩ in the embedding space. The diagonal entries are 1.0 after normalisation; off-diagonal entries measure directional alignment. The “projection weight” of a file is the sum of squared overlaps across all other files — a high value indicates that this file is architecturally central and its patterns recur throughout the codebase.

  • “qm-dirac-notation-mapper”

None defined.

  1. Apply the qm-dirac-notation-mapper skill to the user request.
  • physics metaphor output
  • plain-language engineering translation
  • confidence and limitation notes
  • recommended engineering action

None