YaoAPI
API definitions for Yao.
Usage
Type ?
in a Julia REPL to show the docstring.
help?> YaoAPI.mat
mat([T=ComplexF64], blk)
Returns the matrix form of given block.
The mat
interface can be replace with any APIs bellow
Yao Register API
AbstractRegister, AdjointRegister, AllLocs, ComputationalBasis, DensityMatrix, NoPostProcess, NotImplementedError, PostProcess, RemoveMeasured, ResetTo, append_qudits!, collapseto!, density_matrix, fidelity, focus!, insert_qubits!, instruct!, invorder!, measure, measure!, nactive, nqubits, nqudits, nremain, partial_tr, probs, purify, relax!, reorder!, select, select!, tracedist, viewbatch, clone
Yao Blocks API
AbstractBlock, AbstractContainer, CompositeBlock, LocationConflictError, PrimitiveBlock, QubitMismatchError, TagBlock, apply!, apply_back!, chcontent, chsubblocks, content, dispatch!, expect, getiparams, iparams_eltype, iscommute, isreflexive, isunitary, mat, mat_back!, niparams, nqubits, occupied_locs, operator_fidelity, parameters, parameters_eltype, print_block, render_params, setiparams!, subblocks, ishermitian, nparameters
License
Apache License 2.0