M-Fun for QC-Progs
(Matlab Functions--and fun--for Quantum Computer
Programmers, by R.R.Tucci)
My toolbox, never finished and forever changing, of Octave/Matlab m-files
for QC Programming. I've tested these m-files only in the
Octave environment. They
should work in the Matlab environment
with few or no modifications.
Each m-file has a header that describes the purpose
of the m-file.
Topics
-
General Functions. See m-file headers
-
Cosine-Sine Decomposition. See m-file headers and
Qubiter
-
Multiplexor Approximation. See m-file headers and ``Quantum Compiling
with Approximation of Multiplexors", by R.R. Tucci,
quant-ph/0412072
-
Cartan Decomposition. See m-file headers and ``An Introduction to
Cartan's KAK Decomposition for QC Programmers", by R.R.Tucci,
quant-ph/0507171
-
Deflation Identity. See m-file headers and ``Replacing Two Controlled-U's
with Two CNOTs", by R.R.Tucci,
quant-ph/0509111
-
Circuit Invariants and Dressed CNOTs. See m-file headers and ``Simplifying
Quantum Circuits via Circuit Invariants and Dressed CNOTs", by R.R.Tucci,
quant-ph/0606061
-
General Functions
-
Dressed CNOTs
-
Swapper Identities
-
DC-NOT Similarity Transformation Identities
-
LO-RHS Invariants for Circuits with Two Qubits and Multiple DC-NOTs
-
Reducing 2 DC-NOTs
-
Reducing 3 DC-NOTs
-
Reducing Controlled-Us
-
Opening and Closing a Breach
-
Pass-Through Identities
-
Compiling a tree graph. See m-file headers and ``How to Compile Some
NAND Formula Evaluators", by R.R. Tucci
arXiv:0706.0479
-
Adaptive, Fixed-Point Grover's Algorithm. See m-file headers and ``An
Adaptive, Fixed-Point Version of Grover's Algorithm", by R.R.Tucci
arXiv:1001.5200
Alphabetic List
-
afga.m
-
afga_rot.m
-
afga_step.m
-
approx_phi.m
-
bin_to_dec.m
-
breach.m
-
canonical_class_vec.m
-
check_dcnots.m
-
ckt_invar123.m
-
ckt_invar3.m
-
ckt_invar4.m
-
class_vec_to_mat.m
-
csd.m
-
csd_qc.m
-
dec_to_bin.m
-
deflate.m
-
deflate_dcnots.m
-
diag_ckt_invar2.m
-
diag_ckt_invar2_aux.m
-
diag_ckt_invar3.m
-
diag_to_class_vec.m
-
dr011.m
-
dr101.m
-
dr11.m
-
dr110.m
-
dr_3to2.m
-
factor_SU2pow2_matrix.m
-
factor_SU2pow3_matrix.m
-
Gamma_rep.m
-
get_normal_unit_vec.m
-
get_unit_vec.m
-
global_declarations.m
-
global_defs.m
-
grayish_code.m
-
i_swap.m
-
kak1.m
-
my_moo.m
-
my_sinc.m
-
normalize_cs_pair.m
-
odo.m
-
pass3.m
-
perm_lex_next.m
-
qtree_cbh.m
-
rand_orthogonal.m
-
rand_unitary.m
-
rjd.m
-
sig.m
-
sim_trans_t4.m
-
simul_real_svd.m
-
SO4_to_SU2xSU2.m
-
swap_angles.m
-
swap_t3.m
-
test_breach.m
-
test_csd.m
-
test_deflate_dcnots.m
-
test_diag_invar2.m
-
test_diag_invar3.m
-
test_dr_3to2.m
-
test_factor_su2pow.m
-
test_kak1.m
-
test_kak_dep.m
-
test_odo.m
-
test_pass3.m
-
test_sim_trans_t4.m
-
test_swang.m
-
test_swap_t3.m
[Home Page]