Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Latest commit

 

History

History

dumping

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
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