Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.46 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.46 KB
page_type languages products description urlFragment jupyter
sample
qsharp
qdk
Dumping states and operations in Q# notebooks.
dumping-states-and-operations
jupytext kernelspec
cell_markers text_representation
region,endregion
extension format_name format_version jupytext_version
.md
markdown
1.2
1.5.2
display_name language name
.NET (PowerShell)
PowerShell
.net-powershell

Dumping States and Operations in Q# Notebooks

This sample demonstrates:

  • How to use quantum simulators to view the state of a quantum register.
  • How to use quantum simulators to view unitary representations of adjointable operations.

In this sample, you can use Q# to dump useful diagnostics from the quantum simulator provided with the Quantum Development Kit, including states and unitary matrices.

Prerequisites

Running the Sample

This sample is designed to be run from Jupyter Notebook. From the terminal, run the following command:

jupyter notebook

Manifest

Further resources