Skip to content

Latest commit

 

History

History
 
 

oracle-synthesis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
page_type languages products description
sample
qsharp
qdk
This sample shows how to use synthesis techniques to implement arbitrary quantum oracles in Q#.

Oracle Synthesis

This sample shows the implementation of an arbitrary quantum oracle function using Hadamard gates, CNOT gates, and arbitrary Z-rotations. The algorithm is based on papers by N. Schuch and J. Siewert [Programmable networks for quantum algorithms, Phys. Rev. Lett. 91, 027902, 2003] and J. Welch, D. Greenbaum, S. Mostame, and A. Aspuru-Guzik [Efficient quantum circuits for diagonal unitaries without ancillas, New J. of Phys. 16, 033040, 2014].

Prerequisites

Running the Sample

To run the sample, use the dotnet run command from your terminal.

Manifest