primitives

Automate creation and understanding of quantum primitives with Python and UnitaryLab.

30|2|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/unitarylab/quantum-skills --skill primitives-unitarylab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: primitives
Source: https://github.com/unitarylab/quantum-skills/tree/main/algorithms/primitives
Command: npx skills add https://github.com/unitarylab/quantum-skills --skill primitives-unitarylab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fundamental quantum primitives provide ready-to-use building blocks and educational resources to accelerate algorithm development.

Core Features & Use Cases

  • A comprehensive collection of primitives (Amplitude Amplification, QPE, Hadamard Transform, etc.) with example circuits and explanations.
  • Structured guidance to help learners design, test, and reason about basic quantum components across simulators.
  • Real-world teaching and prototyping use cases, including assembling complex algorithms from modular primitives.

Quick Start

Run the provided examples to instantiate common primitives and observe their behavior on the built-in simulator.

Frequently Asked Questions about primitives

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are quantum primitives and when do I need them for algorithm development?

Quantum primitives are core building blocks like amplitude amplification and quantum phase estimation. You need them to accelerate algorithm development by assembling complex quantum circuits from modular, pre-tested components.

How do I simulate amplitude amplification and quantum phase estimation in Python?

You can simulate amplitude amplification and quantum phase estimation by running provided Python examples that instantiate common quantum primitives and observe their behavior on the built-in simulator.

Do I need the UnitaryLab library to run quantum primitive simulations?

Yes, you need Python and the UnitaryLab library to run these quantum primitive simulations. The Skill enforces a self-contained frontmatter-driven entry point to instantiate and test quantum gates.

Can I use this for teaching and prototyping state preparation across simulators?

Yes, this is designed for real-world teaching and prototyping use cases. It provides structured guidance to help learners design, test, and reason about basic quantum components like state preparation across simulators.

What is the best way to assemble complex quantum algorithms from modular primitives?

The best way to assemble complex quantum algorithms is to use a comprehensive collection of primitives with example circuits, leveraging structured guidance to modularly combine components like the Hadamard Transform.