SQUIN
← Curated API reference · Express a program · Programming
Public SQUIN APIs for defining kernels, allocating qubits, applying gates, annotating results, and measuring.
- bloqade.squin.kernelv0.15.2
from bloqade.squin import kernel - bloqade.squin.qallocv0.15.2
from bloqade.squin import qallocAllocate a new list of qubits.
- bloqade.squin.hv0.15.2
from bloqade.squin import hApply a Hadamard gate to a qubit.
- bloqade.squin.sv0.15.2
from bloqade.squin import sApply an S gate to a qubit.
- bloqade.squin.tv0.15.2
from bloqade.squin import tApply a T gate to a qubit.
- bloqade.squin.xv0.15.2
from bloqade.squin import xApply a Pauli-X gate to a qubit.
- bloqade.squin.yv0.15.2
from bloqade.squin import yApply a Pauli-Y gate to a qubit.
- bloqade.squin.zv0.15.2
from bloqade.squin import zApply a Pauli-Z gate to a qubit.
- bloqade.squin.cxv0.15.2
from bloqade.squin import cxApply a controlled-X gate to a pair of qubits.
- bloqade.squin.cyv0.15.2
from bloqade.squin import cyApply a controlled-Y gate to a pair of qubits.
- bloqade.squin.czv0.15.2
from bloqade.squin import czApply a controlled-Z gate to a pair of qubits.
- bloqade.squin.rxv0.15.2
from bloqade.squin import rxApply an RX rotation gate to a qubit.
- bloqade.squin.ryv0.15.2
from bloqade.squin import ryApply an RY rotation gate to a qubit.
- bloqade.squin.rzv0.15.2
from bloqade.squin import rzApply an RZ rotation gate to a qubit.
- bloqade.squin.u3v0.15.2
from bloqade.squin import u3Apply the U3 gate of a qubit.
- bloqade.squin.cnotv0.15.2
from bloqade.squin import cnotAlias of cx.
Alias of
bloqade.squin.cx. Both names call the same function. - bloqade.squin.s_adjv0.15.2
from bloqade.squin import s_adjApply the adjoint of an S gate to a qubit.
- bloqade.squin.shiftv0.15.2
from bloqade.squin import shiftApply a phase shift to the |1> state of a qubit. Args: angle (float): Phase shift angle in radians. qubit (Qubit): Target qubit.
- bloqade.squin.t_adjv0.15.2
from bloqade.squin import t_adjApply the adjoint of a T gate to a qubit.
- bloqade.squin.sqrt_xv0.15.2
from bloqade.squin import sqrt_xApply a Sqrt(X) gate to a qubit.
- bloqade.squin.sqrt_yv0.15.2
from bloqade.squin import sqrt_yApply a Sqrt(Y) gate to a qubit.
- bloqade.squin.sqrt_zv0.15.2
from bloqade.squin import sqrt_zApply a Sqrt(Z) gate to a qubit.
- bloqade.squin.phased_xzv0.15.2
from bloqade.squin import phased_xzApply a PhasedXZ gate to a qubit.
- bloqade.squin.sqrt_x_adjv0.15.2
from bloqade.squin import sqrt_x_adjApply the adjoint of a Sqrt(X) gate to a qubit.
- bloqade.squin.sqrt_y_adjv0.15.2
from bloqade.squin import sqrt_y_adjApply the adjoint of a Sqrt(Y) gate to a qubit.
- bloqade.squin.sqrt_z_adjv0.15.2
from bloqade.squin import sqrt_z_adjApply the adjoint of a Sqrt(Z) gate to a qubit.
- bloqade.squin.broadcast.hv0.15.2
from bloqade.squin.broadcast import hApply a Hadamard gate to a group of qubits.
- bloqade.squin.broadcast.sv0.15.2
from bloqade.squin.broadcast import sApply an S gate to a group of qubits.
- bloqade.squin.broadcast.tv0.15.2
from bloqade.squin.broadcast import tApply a T gate to a group of qubits.
- bloqade.squin.broadcast.xv0.15.2
from bloqade.squin.broadcast import xApply a Pauli-X gate to a group of qubits.
- bloqade.squin.broadcast.yv0.15.2
from bloqade.squin.broadcast import yApply a Pauli-Y gate to a group of qubits.
- bloqade.squin.broadcast.zv0.15.2
from bloqade.squin.broadcast import zApply a Pauli-Z gate to a group of qubits.
- bloqade.squin.broadcast.cxv0.15.2
from bloqade.squin.broadcast import cxApply a controlled-X gate to pairs of qubits.
- bloqade.squin.broadcast.cyv0.15.2
from bloqade.squin.broadcast import cyApply a controlled-Y gate to pairs of qubits.
- bloqade.squin.broadcast.czv0.15.2
from bloqade.squin.broadcast import czApply a controlled-Z gate to pairs of qubits.
- bloqade.squin.broadcast.rxv0.15.2
from bloqade.squin.broadcast import rxApply an RX rotation gate to a group of qubits.
- bloqade.squin.broadcast.ryv0.15.2
from bloqade.squin.broadcast import ryApply an RY rotation gate to a group of qubits.
- bloqade.squin.broadcast.rzv0.15.2
from bloqade.squin.broadcast import rzApply an RZ rotation gate to a group of qubits.
- bloqade.squin.broadcast.u3v0.15.2
from bloqade.squin.broadcast import u3Apply the U3 gate to a group of qubits.
- bloqade.squin.broadcast.cnotv0.15.2
from bloqade.squin.broadcast import cnotAlias of cx.
Alias of
bloqade.squin.broadcast.cx. Both names call the same function. from bloqade.squin.broadcast import s_adjApply the adjoint of an S gate to a group of qubits.
from bloqade.squin.broadcast import shiftApply a phase shift to the |1> state to a group of qubits. Args: angle (float): Phase shift angle in radians. qubits (ilist.IList[qubit.Qubit, Any]): Target qubits.
from bloqade.squin.broadcast import t_adjApply the adjoint of a T gate to a group of qubits.
from bloqade.squin.broadcast import sqrt_xApply a Sqrt(X) gate to a group of qubits.
from bloqade.squin.broadcast import sqrt_yApply a sqrt(Y) gate to a group of qubits.
from bloqade.squin.broadcast import sqrt_zApply a Sqrt(Z) gate to a group of qubits.
from bloqade.squin.broadcast import phased_xzApply a PhasedXZ gate to a group of qubits.
from bloqade.squin.broadcast import sqrt_x_adjApply the adjoint of a Sqrt(X) gate to a group of qubits.
from bloqade.squin.broadcast import sqrt_y_adjApply the adjoint of a Sqrt(Y) gate to a group of qubits.
from bloqade.squin.broadcast import sqrt_z_adjApply the adjoint of a Sqrt(Z) gate to a group of qubits.
from bloqade.squin import set_detectorfrom bloqade.squin import set_observable- bloqade.squin.measurev0.15.2
from bloqade.squin import measureMeasure a qubit.
from bloqade.squin.broadcast import measureMeasure a list of qubits.