index

@qbead/bloch-sphere


@qbead/bloch-sphere / gates

gates

A set of utilities for standard quantum gates (operators)

Variables

Variable
Description

Alias for the Pauli-X operator

Functions

Function
Description

The Hadamard operator

The identity operator

The phase operator

Rotation around the X axis Applies a rotation of theta radians around the X axis

Rotation around the Y axis Applies a rotation of theta radians around the Y axis

Rotation around the Z axis Applies a rotation of theta radians around the Z axis

The Pauli-X operator (also known as NOT or bit-flip operator)

The Pauli-Y operator

The Pauli-Z operator

Last updated