PyZX
stable
Contents:
Getting Started
Frequently Asked Questions
Optimizing and simplifying circuits
ZX-diagrams in PyZX and how to modify them
Importing and exporting quantum circuits and ZX-diagrams
Full API documentation
PyZX
Docs
»
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
A
add_circuit() (Circuit method)
add_edge() (BaseGraph method)
add_edge_smart() (BaseGraph method)
add_edge_table() (BaseGraph method)
add_edges() (BaseGraph method)
add_gate() (Circuit method)
(CNOT_tracker method)
add_gates() (Circuit method)
add_to_phase() (BaseGraph method)
add_vertex() (BaseGraph method)
add_vertices() (BaseGraph method)
adjoint() (BaseGraph method)
(in module pyzx.tensor)
apply_copy() (in module pyzx.rules)
apply_effect() (BaseGraph method)
apply_gadget_phasepoly() (in module pyzx.rules)
apply_rule() (in module pyzx.rules)
apply_state() (BaseGraph method)
apply_supplementarity() (in module pyzx.rules)
Architecture (class in pyzx.routing)
arities() (Architecture method)
ARITY (RootHeuristic attribute)
(SplitHeuristic attribute)
arrange_scalar_diagram() (in module pyzx.drawing)
auto_detect_io() (BaseGraph method)
B
BaseGraph (class in pyzx.graph.base)
basic_optimization() (in module pyzx.optimize)
bialg() (in module pyzx.rules)
bialg_simp() (in module pyzx.simplify)
C
circuit
module
Circuit (class in pyzx.circuit)
clifford_simp() (in module pyzx.simplify)
cliffords() (in module pyzx.generate)
cliffordT() (in module pyzx.generate)
cliffordTmeas() (in module pyzx.generate)
clone() (BaseGraph method)
cnot_depth() (CNOT_tracker method)
CNOT_HAD_PHASE_circuit() (in module pyzx.generate)
CNOT_tracker (class in pyzx.routing)
cnots() (in module pyzx.generate)
col_add() (CNOT_tracker method)
(Mat2 method)
col_perm (CNOT_tracker attribute)
col_swap() (Mat2 method)
COMBINED (CostMetric attribute)
compare_tensors() (in module pyzx.tensor)
compose() (BaseGraph method)
compose_tensors() (in module pyzx.tensor)
connected() (BaseGraph method)
copy() (BaseGraph method)
CostMetric (class in pyzx.routing)
COUNT (CostMetric attribute)
(SplitHeuristic attribute)
count() (Parity method)
count_cnots() (CNOT_tracker method)
create_architecture() (in module pyzx.routing)
D
DEPTH (CostMetric attribute)
depth() (BaseGraph method)
draw() (in module pyzx.drawing)
draw_d3() (in module pyzx.drawing)
draw_matplotlib() (in module pyzx.drawing)
drawing
module
E
edge() (BaseGraph method)
edge_s() (BaseGraph method)
edge_set() (BaseGraph method)
edge_st() (BaseGraph method)
edge_t() (BaseGraph method)
edge_type() (BaseGraph method)
edges() (BaseGraph method)
edit_graph() (in module pyzx.quantomatic)
ElimMode (class in pyzx.routing)
EXHAUSTIVE (RootHeuristic attribute)
extract
module
extract_circuit() (in module pyzx.extract)
F
factor() (Mat2 method)
find_scalar_correction() (in module pyzx.tensor)
FitnessFunction (class in pyzx.routing)
floyd_warshall() (Architecture method)
from_circuit() (CNOT_tracker static method)
from_graph() (Circuit static method)
from_json() (BaseGraph class method)
from_qasm() (Circuit static method)
from_qasm_file() (Circuit static method)
(CNOT_tracker static method)
from_qc_file() (Circuit static method)
from_qsim_file() (Circuit static method)
from_quipper() (Circuit static method)
from_quipper_file() (Circuit static method)
from_tikz() (BaseGraph class method)
full_optimize() (in module pyzx.optimize)
full_reduce() (in module pyzx.simplify)
G
gadget_simp() (in module pyzx.simplify)
gather_metrics() (CNOT_tracker method)
gauss() (in module pyzx.routing)
(Mat2 method)
GAUSS_MODE (ElimMode attribute)
GENETIC_GAUSS_MODE (ElimMode attribute)
GENETIC_STEINER_MODE (ElimMode attribute)
get_metric_names() (CNOT_tracker static method)
get_neighboring_qubits() (Architecture method)
get_neighboring_vertices() (Architecture method)
graph
module
Graph() (in module pyzx.graph.graph)
GraphS (class in pyzx.graph.graph_s)
graphs_to_gif() (in module pyzx.drawing)
GRAY (RoutingMethod attribute)
GRAY_MEIJER (RoutingMethod attribute)
grounds() (BaseGraph method)
I
id_simp() (in module pyzx.simplify)
identity() (in module pyzx.generate)
incident_edges() (BaseGraph method)
inputs() (BaseGraph method)
inverse() (Mat2 method)
is_ground() (BaseGraph method)
is_hybrid() (BaseGraph method)
is_id() (BaseGraph method)
is_unitary() (in module pyzx.tensor)
L
lcomp() (in module pyzx.rules)
lcomp_simp() (in module pyzx.simplify)
load() (Circuit static method)
M
Mat2 (class in pyzx.linalg)
match_bialg() (in module pyzx.rules)
match_bialg_parallel() (in module pyzx.rules)
match_copy() (in module pyzx.rules)
match_gadgets_phasepoly() (in module pyzx.rules)
match_ids() (in module pyzx.rules)
match_ids_parallel() (in module pyzx.rules)
match_lcomp() (in module pyzx.rules)
match_lcomp_parallel() (in module pyzx.rules)
match_phase_gadgets() (in module pyzx.rules)
match_pivot() (in module pyzx.rules)
match_pivot_boundary() (in module pyzx.rules)
match_pivot_gadget() (in module pyzx.rules)
match_pivot_parallel() (in module pyzx.rules)
match_spider() (in module pyzx.rules)
match_spider_parallel() (in module pyzx.rules)
match_supplementarity() (in module pyzx.rules)
matrix (CNOT_tracker attribute)
matrix_to_latex() (in module pyzx.drawing)
MATROID (RoutingMethod attribute)
MEIJER (RoutingMethod attribute)
merge() (BaseGraph method)
merge_phase_gadgets() (in module pyzx.rules)
module
circuit
drawing
extract
graph
optimize
pyzx.drawing
pyzx.generate
pyzx.optimize
pyzx.quantomatic
pyzx.routing
pyzx.rules
pyzx.simplify
pyzx.tensor
pyzx.tikz
quantomatic
routing
rules
simplify
tensor
tikz
N
n_qubits() (Parity method)
neighbors() (BaseGraph method)
non_cutting_vertices() (Architecture method)
normalize() (BaseGraph method)
nullspace() (Mat2 method)
num_edges() (BaseGraph method)
num_inputs() (BaseGraph method)
num_outputs() (BaseGraph method)
num_vertices() (BaseGraph method)
O
optimize
module
outputs() (BaseGraph method)
P
pack_circuit_rows() (BaseGraph method)
Parity (class in pyzx.routing)
parity (Parity attribute)
permute_cols() (Mat2 method)
permute_rows() (Mat2 method)
permuted_gauss() (in module pyzx.routing)
phase() (BaseGraph method)
phase_block_optimize() (in module pyzx.optimize)
phase_free_simp() (in module pyzx.simplify)
phase_poly() (in module pyzx.generate)
phase_poly_approximate() (in module pyzx.generate)
phase_poly_from_gadgets() (in module pyzx.generate)
phases() (BaseGraph method)
pivot() (in module pyzx.rules)
pivot_boundary_simp() (in module pyzx.simplify)
pivot_gadget_simp() (in module pyzx.simplify)
pivot_simp() (in module pyzx.simplify)
pre_calc_distances() (Architecture method)
pre_calc_non_cutting_vertices() (Architecture method)
prepend_gate() (Circuit method)
(CNOT_tracker method)
print_matrix() (in module pyzx.drawing)
PSO_GAUSS_MODE (ElimMode attribute)
PSO_STEINER_MODE (ElimMode attribute)
pyzx.drawing
module
pyzx.generate
module
pyzx.optimize
module
pyzx.quantomatic
module
pyzx.routing
module
pyzx.rules
module
pyzx.simplify
module
pyzx.tensor
module
pyzx.tikz
module
Q
quantomatic
module
qubit() (BaseGraph method)
qubit2vertex() (Architecture method)
qubit_count() (BaseGraph method)
qubits() (BaseGraph method)
R
RANDOM (RootHeuristic attribute)
(SplitHeuristic attribute)
rank() (Mat2 method)
rec_steiner_gauss() (in module pyzx.routing)
rec_steiner_tree() (Architecture method)
RECURSIVE (RootHeuristic attribute)
reduce_scalar() (in module pyzx.simplify)
remove_edge() (BaseGraph method)
remove_edges() (BaseGraph method)
remove_ids() (in module pyzx.rules)
remove_isolated_vertices() (BaseGraph method)
remove_vertex() (BaseGraph method)
remove_vertices() (BaseGraph method)
replace_subgraph() (BaseGraph method)
RootHeuristic (class in pyzx.routing)
route_phase_poly() (in module pyzx.routing)
routing
module
RoutingMethod (class in pyzx.routing)
row() (BaseGraph method)
row_add() (CNOT_tracker method)
(Mat2 method)
row_perm (CNOT_tracker attribute)
row_swap() (Mat2 method)
rows() (BaseGraph method)
rules
module
S
sequential_gauss() (in module pyzx.routing)
set_edge_type() (BaseGraph method)
set_ground() (BaseGraph method)
set_inputs() (BaseGraph method)
set_outputs() (BaseGraph method)
set_phase() (BaseGraph method)
set_phase_master() (BaseGraph method)
set_position() (BaseGraph method)
set_qubit() (BaseGraph method)
set_row() (BaseGraph method)
set_type() (BaseGraph method)
set_vdata() (BaseGraph method)
shortest_path() (Architecture method)
simp() (in module pyzx.simplify)
simplify
module
solve() (Mat2 method)
spider() (in module pyzx.rules)
spider_simp() (in module pyzx.simplify)
SplitHeuristic (class in pyzx.routing)
stats() (BaseGraph method)
(Circuit method)
stats_dict() (Circuit method)
steiner_gauss() (in module pyzx.routing)
STEINER_MODE (ElimMode attribute)
steiner_tree() (Architecture method)
subgraph_from_vertices() (BaseGraph method)
supplementarity_simp() (in module pyzx.simplify)
T
tcount() (Circuit method)
(in module pyzx.simplify)
teleport_reduce() (in module pyzx.simplify)
tensor
module
tensor() (BaseGraph method)
(Circuit method)
tensor_to_matrix() (in module pyzx.tensor)
tensorfy() (in module pyzx.tensor)
tikz
module
tikz_to_graph() (in module pyzx.tikz)
tikzit() (in module pyzx.tikz)
to_basic_gates() (Circuit method)
to_cnots() (Mat2 method)
to_emoji() (Circuit method)
to_function() (RootHeuristic method)
(SplitHeuristic method)
to_gh() (in module pyzx.simplify)
to_graph() (Circuit method)
to_graphml() (BaseGraph method)
to_json() (BaseGraph method)
to_mat2_row() (Parity method)
to_matrix() (BaseGraph method)
(Circuit method)
to_qasm() (Circuit method)
(CNOT_tracker method)
to_qc() (Circuit method)
to_quil_device() (Architecture method)
to_quipper() (Circuit method)
to_rg() (in module pyzx.simplify)
to_tensor() (BaseGraph method)
(Circuit method)
to_tikz() (BaseGraph method)
(in module pyzx.tikz)
to_tikz_sequence() (in module pyzx.tikz)
transpose() (Architecture method)
twoqubitcount() (Circuit method)
type() (BaseGraph method)
types() (BaseGraph method)
U
unspider() (in module pyzx.rules)
update_matrix() (CNOT_tracker method)
update_phase_index() (BaseGraph method)
V
vdata() (BaseGraph method)
vdata_keys() (BaseGraph method)
verify_equality() (Circuit method)
vertex2qubit() (Architecture method)
vertex_degree() (BaseGraph method)
vertex_set() (BaseGraph method)
vertices() (BaseGraph method)
vindex() (BaseGraph method)
visualize() (Architecture method)
Read the Docs
v: stable
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.