[][src]Module qip::pipeline

Structs

LocalQuantumState

A basic representation of a quantum state, given by a vector of complex numbers stored locally on the machine (plus an arena of equal size to work in).

MeasuredResults
StateModifier

Enums

InitialState
StateModifierType

Traits

QuantumState

A trait which represents the state of the qubits

Functions

make_circuit_matrix

Create a circuit for the circuit given by q. If natural_order, then the qubit with index 0 represents the lowest bit in the index of the state (has the smallest increment when flipped), otherwise it's the largest index (which is the internal state used by the simulator).

run

Builds a default state of size n

run_local

run the pipeline using LocalQuantumState.

run_local_with_init

run_with_init the pipeline using LocalQuantumState

run_with_init
run_with_state
run_with_statebuilder

Type Definitions

QubitInitialState