Skip to content

Latest commit

 

History

History
 
 

algorithms

Algorithm Samples

  • Simple Grover: This sample introduces Grover's algorithm for a simple hard-coded example.
  • Database Search: This sample demonstrates how to use Grover's algorithm to efficiently search a database represented as a quantum register.
  • Integer Factorization: This sample demonstrates how to use Shor's algorithm to efficiently factor integers.
  • Reversible Logic Synthesis: This sample demonstrates how to use reversible logic synthesis to solve the hidden shift problem.
  • CHSH Game: This sample demonstrates a famous nonlocal game which proves that no theory of local hidden variables can ever reproduce all the predictions of quantum mechanics.
  • Oracle Synthesis: This sample demonstrates how to build quantum oracles from reversible classical logic.
  • Order Finding: This sample uses a quantum algorithm to find the order of a cycle in a permutation.