The clq Reference Manual

This is the clq Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Fri May 15 12:08:16 2026 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 clq

License
Version

0.0.1

Source

clq.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 clq/src

Source

clq.asd.

Parent Component

clq (system).

Child Component

main.lisp (file).


4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 clq/clq.asd

Source

clq.asd.

Parent Component

clq (system).

ASDF Systems

clq.


4.1.2 clq/src/main.lisp

Source

clq.asd.

Parent Component

src (module).

Packages

clq.

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 clq

Source

main.lisp.

Use List

common-lisp.

Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Ordinary functions

Function: generate-openqasm (qc &optional result-str)

Converts the Quantum Circuit into OpenQASM v2.0 code.

Parameters:
- qc: the quantum circuit object.
- result-str: the string that will contain the OpenQASM v2.0 code. By default is empty.

Package

clq.

Source

main.lisp.

Function: make-cregister (size name)

Constructor for the Classical Register.

Parameters:
- size: the number of bits in the classical register. - name: classical register’s name.

Package

clq.

Source

main.lisp.

Function: make-qcircuit (qregs cregs)

Constructor for the Quantum Circuit.

Parameters:
- qregs: list of quantum register. - cregs: list of classical register.

Package

clq.

Source

main.lisp.

Function: make-qgate (name fmt)

Constructor for the Quantum Gate.

Parameters:
- name : quantum gate’s name.
- fmt : format of the generate OpenQASM v2.0 code

Package

clq.

Source

main.lisp.

Function: make-qregister (size name)

Constructor for the Quantum Register.

Parameters:
- sizes: the number of qubits in the quantum register. - name: quantum register’s name.

Package

clq.

Source

main.lisp.

Function: save-openqasm-to-file (qc file-path)

Converts the Quantum Circuit into OpenQASM v2.0 code and writes it into a file.

Parameters:
- qc: the quantum circuit object.
- file-path: the file path that will be created.

Package

clq.

Source

main.lisp.


6.1.2 Generic functions

Generic Function: ccxgate (qc ctrl0 ctrlp0 ctrl1 ctrlp1 targ targp)
Package

clq.

Methods
Method: ccxgate ((qc qcircuit) (ctrl0 qregister) ctrlp0 (ctrl1 qregister) ctrlp1 (targ qregister) targp)

Create and apply a Controlled-X gate.

Parameters:
- qc : quantum circuit.
- ctrl0 : control quantum register.
- ctrlp0 : the qubit’s index in the control quantum register. - ctrl1 : control quantum register.
- ctrlp1 : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: chgate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: chgate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-H gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Reader: cregs (object)
Generic Writer: (setf cregs) (object)
Package

clq.

Methods
Reader Method: cregs ((qcircuit qcircuit))
Writer Method: (setf cregs) ((qcircuit qcircuit))

Classical Registers.

Source

main.lisp.

Target Slot

cregs.

Generic Function: csdggate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: csdggate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-SDG gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: csgate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: csgate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-S gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: cswapgate (qc ctrl ctrlp targ1 targp1 targ2 targp2)
Package

clq.

Methods
Method: cswapgate ((qc qcircuit) (ctrl qregister) ctrlp (targ1 qregister) targp1 (targ2 qregister) targp2)

Create and apply a Controlled-Z gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register.
- targ1 : first target quantum register.
- targp1 : the qubit’s index in the first target quantum register. - targ2 : second target quantum register.
- targp2 : the qubit’s index in the second target quantum register.

Source

main.lisp.

Generic Function: ctdggate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: ctdggate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-TDG gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: ctgate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: ctgate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-t gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: cu1gate (qc lambda ctrl ctrlp targ targp)
Package

clq.

Methods
Method: cu1gate ((qc qcircuit) lambda (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-Phase rotation.

Parameters:
- qc : quantum circuit.
- lambda : rotation angle
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: cvdggate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: cvdggate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-VDG gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: cvgate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: cvgate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-V gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: cxgate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: cxgate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-X gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: cygate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: cygate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-Y gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: czgate (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: czgate ((qc qcircuit) (ctrl qregister) ctrlp (targ qregister) targp)

Create and apply a Controlled-Z gate.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the control quantum register. - targ : target quantum register.
- targp : the qubit’s index in the target quantum register.

Source

main.lisp.

Generic Function: embed-defs (qc def-key qasm-str)
Package

clq.

Methods
Method: embed-defs ((qc qcircuit) def-key qasm-str)

Embed custom openQASM definitions.

Parameters:
- qc : quantum circuit
- def-key : definition name used as key in hashtable - qasm-str: openQASM string

Source

main.lisp.

Generic Function: embed-qasm (qc gate-name qasm-str)
Package

clq.

Methods
Method: embed-qasm ((qc qcircuit) gate-name qasm-str)

Embed custom openQASM code.

Parameters:
- qc : quantum circuit - gate-name : quantum gate name - qasm-str : openQASM string

Source

main.lisp.

Generic Function: hgate (qc reg position)
Package

clq.

Methods
Method: hgate ((qc qcircuit) (reg qregister) position)

Create and apply a Hadamard gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: igate (qc reg position)
Package

clq.

Methods
Method: igate ((qc qcircuit) (reg qregister) position)

Create and apply an Identity gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: mcxgate (qc ctrl ctrl-pos targ targ-pos)
Package

clq.

Methods
Method: mcxgate ((qc qcircuit) (ctrl qregister) ctrl-pos (targ qregister) targ-pos)

Create and apply a Toffoli gate.

Parameters:
- qc : quantum circuit
- ctrl : control quantum register
- ctrl-pos: list of control qubits indices - targ : target quantum register
- targ-pos: target qubit index

Source

main.lisp.

Generic Function: measure (qc ctrl ctrlp targ targp)
Package

clq.

Methods
Method: measure ((qc qcircuit) (ctrl qregister) ctrlp (targ cregister) targp)

Create and apply a Measurement operator.

Parameters:
- qc : quantum circuit.
- ctrl : control quantum register.
- ctrlp : the qubit’s index in the quantum register. - targ : classical register.
- targp : the qubit’s index in the classical register.

Source

main.lisp.

Generic Reader: name (object)
Generic Writer: (setf name) (object)
Package

clq.

Methods
Reader Method: name ((qgate qgate))
Writer Method: (setf name) ((qgate qgate))

Quantum gate’s name.

Source

main.lisp.

Target Slot

name.

Reader Method: name ((cregister cregister))
Writer Method: (setf name) ((cregister cregister))

Classical Register name.

Source

main.lisp.

Target Slot

name.

Reader Method: name ((qregister qregister))
Writer Method: (setf name) ((qregister qregister))

Quantum Register name.

Source

main.lisp.

Target Slot

name.

Generic Function: qbarrier (qc)
Package

clq.

Methods
Method: qbarrier ((qc qcircuit))
Source

main.lisp.

Generic Reader: qregs (object)
Generic Writer: (setf qregs) (object)
Package

clq.

Methods
Reader Method: qregs ((qcircuit qcircuit))
Writer Method: (setf qregs) ((qcircuit qcircuit))

Quantum Registers.

Source

main.lisp.

Target Slot

qregs.

Generic Function: rxgate (qc reg position theta)
Package

clq.

Methods
Method: rxgate ((qc qcircuit) (reg qregister) position theta)

Create and apply a Rx gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied. - theta : angle of rotation

Source

main.lisp.

Generic Function: rygate (qc reg position theta)
Package

clq.

Methods
Method: rygate ((qc qcircuit) (reg qregister) position theta)

Create and apply a Ry gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied. - theta : angle of rotation

Source

main.lisp.

Generic Function: rzgate (qc reg position theta)
Package

clq.

Methods
Method: rzgate ((qc qcircuit) (reg qregister) position theta)

Create and apply a Rz gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied. - theta : angle of rotation

Source

main.lisp.

Generic Function: sdggate (qc reg position)
Package

clq.

Methods
Method: sdggate ((qc qcircuit) (reg qregister) position)

Create and apply a Conjugate SQRT(Z) gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: sgate (qc reg position)
Package

clq.

Methods
Method: sgate ((qc qcircuit) (reg qregister) position)

Create and apply a SQRT(Z) gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Reader: size (object)
Generic Writer: (setf size) (object)
Package

clq.

Methods
Reader Method: size ((cregister cregister))
Writer Method: (setf size) ((cregister cregister))

Classical Register size.

Source

main.lisp.

Target Slot

size.

Reader Method: size ((qregister qregister))
Writer Method: (setf size) ((qregister qregister))

Quantum Register size.

Source

main.lisp.

Target Slot

size.

Generic Function: swapgate (qc reg1 pos1 reg2 pos2)
Package

clq.

Methods
Method: swapgate ((qc qcircuit) (reg1 qregister) pos1 (reg2 qregister) pos2)

Create and apply a SWAP gate.

Parameters:
- qc : quantum circuit.
- reg1 : first quantum register.
- pos1 : the qubit’s index in the first quantum register. - reg2 : second quantum register.
- pos2 : the qubit’s index in the second quantum register.

Source

main.lisp.

Generic Function: tdggate (qc reg position)
Package

clq.

Methods
Method: tdggate ((qc qcircuit) (reg qregister) position)

Create and apply a Conjugate SQRT(Z) gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: tgate (qc reg position)
Package

clq.

Methods
Method: tgate ((qc qcircuit) (reg qregister) position)

Create and apply a SQRT(S) gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: vdggate (qc reg position)
Package

clq.

Methods
Method: vdggate ((qc qcircuit) (reg qregister) position)

Create and apply a Conjugate V gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: vgate (qc reg position)
Package

clq.

Methods
Method: vgate ((qc qcircuit) (reg qregister) position)

Create and apply a V gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: xgate (qc reg position)
Package

clq.

Methods
Method: xgate ((qc qcircuit) (reg qregister) position)

Create and apply a Pauli-X gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: ygate (qc reg position)
Package

clq.

Methods
Method: ygate ((qc qcircuit) (reg qregister) position)

Create and apply a Pauli-Y gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.

Generic Function: zgate (qc reg position)
Package

clq.

Methods
Method: zgate ((qc qcircuit) (reg qregister) position)

Create and apply a Pauli-Z gate.

Parameters:
- qc : quantum circuit
- reg : quantum register.
- position: the qubit’s index in the quantum register on which the gate is applied.

Source

main.lisp.


6.1.3 Standalone methods

Method: print-object ((obj qgate) stream)
Source

main.lisp.

Method: print-object ((obj cregister) stream)
Source

main.lisp.

Method: print-object ((obj qcircuit) stream)
Source

main.lisp.

Method: print-object ((obj qregister) stream)
Source

main.lisp.


6.1.4 Classes

Class: cregister
Package

clq.

Source

main.lisp.

Direct methods
Direct slots
Slot: size

Classical Register size.

Initargs

:size

Readers

size.

Writers

(setf size).

Slot: name

Classical Register name.

Initargs

:name

Readers

name.

Writers

(setf name).

Class: qcircuit
Package

clq.

Source

main.lisp.

Direct methods
Direct slots
Slot: qregs

Quantum Registers.

Initargs

:qregs

Readers

qregs.

Writers

(setf qregs).

Slot: cregs

Classical Registers.

Initargs

:cregs

Readers

cregs.

Writers

(setf cregs).

Slot: gates

List of applied quantum gates.

Initargs

:gates

Readers

gates.

Writers

(setf gates).

Slot: defs

Custom openQASM 2.0 definitions.

Initform

(make-hash-table :test (quote equal))

Readers

defs.

Writers

(setf defs).

Class: qgate
Package

clq.

Source

main.lisp.

Direct methods
Direct slots
Slot: name

Quantum gate’s name.

Initargs

:name

Readers

name.

Writers

(setf name).

Slot: fmt

Format of the generated OpenQASM v2.0 code.

Initargs

:fmt

Readers

fmt.

Writers

(setf fmt).

Class: qregister
Package

clq.

Source

main.lisp.

Direct methods
Direct slots
Slot: size

Quantum Register size.

Initargs

:size

Readers

size.

Writers

(setf size).

Slot: name

Quantum Register name.

Initargs

:name

Readers

name.

Writers

(setf name).


6.2 Internals


6.2.1 Ordinary functions

Function: get-cregisters (xs &optional result-str)
Package

clq.

Source

main.lisp.

Function: get-definitions (defs)
Package

clq.

Source

main.lisp.

Function: get-gate (gate)
Package

clq.

Source

main.lisp.

Function: get-operators (xs &optional result-str)
Package

clq.

Source

main.lisp.

Function: get-qregisters (xs &optional result-str)
Package

clq.

Source

main.lisp.

Function: numbers->letters (nums &key start)
Package

clq.

Source

main.lisp.


6.2.2 Generic functions

Generic Function: add-defs (qc def-key def-str)
Package

clq.

Methods
Method: add-defs ((qc qcircuit) def-key def-str)
Source

main.lisp.

Generic Function: add-gate (qc qg)
Package

clq.

Methods
Method: add-gate ((qc qcircuit) (qg qgate))
Source

main.lisp.

Generic Function: cregister-equal (a b)
Package

clq.

Methods
Method: cregister-equal ((a cregister) (b cregister))
Source

main.lisp.

Generic Reader: defs (object)
Generic Writer: (setf defs) (object)
Package

clq.

Methods
Reader Method: defs ((qcircuit qcircuit))
Writer Method: (setf defs) ((qcircuit qcircuit))

Custom openQASM 2.0 definitions.

Source

main.lisp.

Target Slot

defs.

Generic Reader: fmt (object)
Generic Writer: (setf fmt) (object)
Package

clq.

Methods
Reader Method: fmt ((qgate qgate))
Writer Method: (setf fmt) ((qgate qgate))

Format of the generated OpenQASM v2.0 code.

Source

main.lisp.

Target Slot

fmt.

Generic Reader: gates (object)
Generic Writer: (setf gates) (object)
Package

clq.

Methods
Reader Method: gates ((qcircuit qcircuit))
Writer Method: (setf gates) ((qcircuit qcircuit))

List of applied quantum gates.

Source

main.lisp.

Target Slot

gates.

Generic Function: mcx-def (qc positions)
Package

clq.

Methods
Method: mcx-def ((qc qcircuit) positions)
Source

main.lisp.

Generic Function: qregister-equal (a b)
Package

clq.

Methods
Method: qregister-equal ((a qregister) (b qregister))
Source

main.lisp.

Generic Function: validate-cregister (qc reg)
Package

clq.

Methods
Method: validate-cregister ((qc qcircuit) (reg cregister))
Source

main.lisp.

Generic Function: validate-qregister (qc reg)
Package

clq.

Methods
Method: validate-qregister ((qc qcircuit) (reg qregister))
Source

main.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
A   C   D   E   F   G   H   I   M   N   P   Q   R   S   T   V   X   Y   Z  
Index Entry  Section

(
(setf cregs): Public generic functions
(setf cregs): Public generic functions
(setf defs): Private generic functions
(setf defs): Private generic functions
(setf fmt): Private generic functions
(setf fmt): Private generic functions
(setf gates): Private generic functions
(setf gates): Private generic functions
(setf name): Public generic functions
(setf name): Public generic functions
(setf name): Public generic functions
(setf name): Public generic functions
(setf qregs): Public generic functions
(setf qregs): Public generic functions
(setf size): Public generic functions
(setf size): Public generic functions
(setf size): Public generic functions

A
add-defs: Private generic functions
add-defs: Private generic functions
add-gate: Private generic functions
add-gate: Private generic functions

C
ccxgate: Public generic functions
ccxgate: Public generic functions
chgate: Public generic functions
chgate: Public generic functions
cregister-equal: Private generic functions
cregister-equal: Private generic functions
cregs: Public generic functions
cregs: Public generic functions
csdggate: Public generic functions
csdggate: Public generic functions
csgate: Public generic functions
csgate: Public generic functions
cswapgate: Public generic functions
cswapgate: Public generic functions
ctdggate: Public generic functions
ctdggate: Public generic functions
ctgate: Public generic functions
ctgate: Public generic functions
cu1gate: Public generic functions
cu1gate: Public generic functions
cvdggate: Public generic functions
cvdggate: Public generic functions
cvgate: Public generic functions
cvgate: Public generic functions
cxgate: Public generic functions
cxgate: Public generic functions
cygate: Public generic functions
cygate: Public generic functions
czgate: Public generic functions
czgate: Public generic functions

D
defs: Private generic functions
defs: Private generic functions

E
embed-defs: Public generic functions
embed-defs: Public generic functions
embed-qasm: Public generic functions
embed-qasm: Public generic functions

F
fmt: Private generic functions
fmt: Private generic functions
Function, generate-openqasm: Public ordinary functions
Function, get-cregisters: Private ordinary functions
Function, get-definitions: Private ordinary functions
Function, get-gate: Private ordinary functions
Function, get-operators: Private ordinary functions
Function, get-qregisters: Private ordinary functions
Function, make-cregister: Public ordinary functions
Function, make-qcircuit: Public ordinary functions
Function, make-qgate: Public ordinary functions
Function, make-qregister: Public ordinary functions
Function, numbers->letters: Private ordinary functions
Function, save-openqasm-to-file: Public ordinary functions

G
gates: Private generic functions
gates: Private generic functions
generate-openqasm: Public ordinary functions
Generic Function, (setf cregs): Public generic functions
Generic Function, (setf defs): Private generic functions
Generic Function, (setf fmt): Private generic functions
Generic Function, (setf gates): Private generic functions
Generic Function, (setf name): Public generic functions
Generic Function, (setf qregs): Public generic functions
Generic Function, (setf size): Public generic functions
Generic Function, add-defs: Private generic functions
Generic Function, add-gate: Private generic functions
Generic Function, ccxgate: Public generic functions
Generic Function, chgate: Public generic functions
Generic Function, cregister-equal: Private generic functions
Generic Function, cregs: Public generic functions
Generic Function, csdggate: Public generic functions
Generic Function, csgate: Public generic functions
Generic Function, cswapgate: Public generic functions
Generic Function, ctdggate: Public generic functions
Generic Function, ctgate: Public generic functions
Generic Function, cu1gate: Public generic functions
Generic Function, cvdggate: Public generic functions
Generic Function, cvgate: Public generic functions
Generic Function, cxgate: Public generic functions
Generic Function, cygate: Public generic functions
Generic Function, czgate: Public generic functions
Generic Function, defs: Private generic functions
Generic Function, embed-defs: Public generic functions
Generic Function, embed-qasm: Public generic functions
Generic Function, fmt: Private generic functions
Generic Function, gates: Private generic functions
Generic Function, hgate: Public generic functions
Generic Function, igate: Public generic functions
Generic Function, mcx-def: Private generic functions
Generic Function, mcxgate: Public generic functions
Generic Function, measure: Public generic functions
Generic Function, name: Public generic functions
Generic Function, qbarrier: Public generic functions
Generic Function, qregister-equal: Private generic functions
Generic Function, qregs: Public generic functions
Generic Function, rxgate: Public generic functions
Generic Function, rygate: Public generic functions
Generic Function, rzgate: Public generic functions
Generic Function, sdggate: Public generic functions
Generic Function, sgate: Public generic functions
Generic Function, size: Public generic functions
Generic Function, swapgate: Public generic functions
Generic Function, tdggate: Public generic functions
Generic Function, tgate: Public generic functions
Generic Function, validate-cregister: Private generic functions
Generic Function, validate-qregister: Private generic functions
Generic Function, vdggate: Public generic functions
Generic Function, vgate: Public generic functions
Generic Function, xgate: Public generic functions
Generic Function, ygate: Public generic functions
Generic Function, zgate: Public generic functions
get-cregisters: Private ordinary functions
get-definitions: Private ordinary functions
get-gate: Private ordinary functions
get-operators: Private ordinary functions
get-qregisters: Private ordinary functions

H
hgate: Public generic functions
hgate: Public generic functions

I
igate: Public generic functions
igate: Public generic functions

M
make-cregister: Public ordinary functions
make-qcircuit: Public ordinary functions
make-qgate: Public ordinary functions
make-qregister: Public ordinary functions
mcx-def: Private generic functions
mcx-def: Private generic functions
mcxgate: Public generic functions
mcxgate: Public generic functions
measure: Public generic functions
measure: Public generic functions
Method, (setf cregs): Public generic functions
Method, (setf defs): Private generic functions
Method, (setf fmt): Private generic functions
Method, (setf gates): Private generic functions
Method, (setf name): Public generic functions
Method, (setf name): Public generic functions
Method, (setf name): Public generic functions
Method, (setf qregs): Public generic functions
Method, (setf size): Public generic functions
Method, (setf size): Public generic functions
Method, add-defs: Private generic functions
Method, add-gate: Private generic functions
Method, ccxgate: Public generic functions
Method, chgate: Public generic functions
Method, cregister-equal: Private generic functions
Method, cregs: Public generic functions
Method, csdggate: Public generic functions
Method, csgate: Public generic functions
Method, cswapgate: Public generic functions
Method, ctdggate: Public generic functions
Method, ctgate: Public generic functions
Method, cu1gate: Public generic functions
Method, cvdggate: Public generic functions
Method, cvgate: Public generic functions
Method, cxgate: Public generic functions
Method, cygate: Public generic functions
Method, czgate: Public generic functions
Method, defs: Private generic functions
Method, embed-defs: Public generic functions
Method, embed-qasm: Public generic functions
Method, fmt: Private generic functions
Method, gates: Private generic functions
Method, hgate: Public generic functions
Method, igate: Public generic functions
Method, mcx-def: Private generic functions
Method, mcxgate: Public generic functions
Method, measure: Public generic functions
Method, name: Public generic functions
Method, name: Public generic functions
Method, name: Public generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, qbarrier: Public generic functions
Method, qregister-equal: Private generic functions
Method, qregs: Public generic functions
Method, rxgate: Public generic functions
Method, rygate: Public generic functions
Method, rzgate: Public generic functions
Method, sdggate: Public generic functions
Method, sgate: Public generic functions
Method, size: Public generic functions
Method, size: Public generic functions
Method, swapgate: Public generic functions
Method, tdggate: Public generic functions
Method, tgate: Public generic functions
Method, validate-cregister: Private generic functions
Method, validate-qregister: Private generic functions
Method, vdggate: Public generic functions
Method, vgate: Public generic functions
Method, xgate: Public generic functions
Method, ygate: Public generic functions
Method, zgate: Public generic functions

N
name: Public generic functions
name: Public generic functions
name: Public generic functions
name: Public generic functions
numbers->letters: Private ordinary functions

P
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods

Q
qbarrier: Public generic functions
qbarrier: Public generic functions
qregister-equal: Private generic functions
qregister-equal: Private generic functions
qregs: Public generic functions
qregs: Public generic functions

R
rxgate: Public generic functions
rxgate: Public generic functions
rygate: Public generic functions
rygate: Public generic functions
rzgate: Public generic functions
rzgate: Public generic functions

S
save-openqasm-to-file: Public ordinary functions
sdggate: Public generic functions
sdggate: Public generic functions
sgate: Public generic functions
sgate: Public generic functions
size: Public generic functions
size: Public generic functions
size: Public generic functions
swapgate: Public generic functions
swapgate: Public generic functions

T
tdggate: Public generic functions
tdggate: Public generic functions
tgate: Public generic functions
tgate: Public generic functions

V
validate-cregister: Private generic functions
validate-cregister: Private generic functions
validate-qregister: Private generic functions
validate-qregister: Private generic functions
vdggate: Public generic functions
vdggate: Public generic functions
vgate: Public generic functions
vgate: Public generic functions

X
xgate: Public generic functions
xgate: Public generic functions

Y
ygate: Public generic functions
ygate: Public generic functions

Z
zgate: Public generic functions
zgate: Public generic functions