Skip to content

QuAIRKit 0.3.0 Release Note

Latest
Compare
Choose a tag to compare
@LeiZhang-116-4 LeiZhang-116-4 released this 16 Dec 02:00
f17bd79

Feature Rollout

  • Probabilistic computation: internally supported parallel (pure & mixed state) computations for probabilistic outcomes generated by measurements or quasi-sampling:
    • Circuit.collapse: renamed as Circuit.measure. When desired_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 by State.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
$$(I - P) \otimes I + P \otimes U$$
  • Quantum information functions: Advanced the quairkit.qinfo module with the following changes:
    • mutual_information: compute the the mutual information of a bipartite state
    • general_state_fidelity: compute the fidelity of two subnormalized states.
    • Nkron: now supports trivial inputs, and has an alias name nkron

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