Dumps the current target machine's status associated with the given qubits.
function DumpRegister<'T> (location : 'T, qubits : Qubit) : Unit
location : 'T
Provides information on where to generate the state's dump.
qubits : Qubit
The list of qubits to report.
Output : Unit
This method allows you to dump the information associated with the state of the
given qubits into a file or some other location.
The actual information generated and the semantics of
are specific to each target machine. However, providing an empty tuple as a location (
typically means to generate the output to the console.
For the local full state simulator distributed as part of the Quantum Development Kit, this method expects a string with the path to a file in which it will write the state of the given qubits (i.e. the wave function of the corresponding subsystem) as a one-dimensional array of complex numbers, in which each element represents the amplitudes of the probability of measuring the corresponding state. If the given qubits are entangled with some other qubit and their state can't be separated, it just reports that the qubits are entangled.