Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

page_type sample
languages
qsharp
products
qdk
description Dumping states and operations in Q# notebooks.
urlFragment dumping-states-and-operations
jupyter
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