Feature Rollout
- Probabilistic computation: internally supported parallel (pure & mixed state) computations for probabilistic outcomes generated by measurements or quasi-sampling:
Circuit.collapse
: renamed asCircuit.measure
. Whendesired_result
is None, calling this attribute would store all mid-circuit measurement outcomes and the corresponding probability distribution.Measure
: same as above.Circuit.locc
: add one-way LOCC (unitary) protocol to the circuit. Detailed tutorials will be released in the next version.State.index_select
: replaced byState.prob_select
, which can be called to selet the particular outcome.
- Controlled operation: QuAIRKit now support multi-control unitaries:
Circuit.control_oracle
: can inputs multi-control indices and customized projections.
For example,cir.control_oracle(u, [[0, 1], 2], P)
is equivalent to inserting the unitary
- Quantum information functions: Advanced the quairkit.qinfo module with the following changes:
mutual_information
: compute the the mutual information of a bipartite stategeneral_state_fidelity
: compute the fidelity of two subnormalized states.Nkron
: now supports trivial inputs, and has an alias namenkron
Stability Update
- All matrix and channel representation functions are compatitble with NumPy inputs and outcomputs.
- Add code examples in docstrings of functions in
database
. - Improve the efficiency and interfaces of PQCombNet, which is now imported by
quairkit.application
. - Add bug fixes.
End of Release Notes