[−][src]Module qip::pipeline
Code for building pipelines.
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 | A struct which provides the measured values from the circuit. |
MeasurementHandle | A handle which can be used to retrieve measured values. |
StateModifier | A named state modifier. |
Enums
InitialState | An initial state supplier for building quantum states. |
Representation | Order of qubits returned by |
StateModifierType | The set of ways to modify a QuantumState |
Traits
QuantumState | A trait which represents the state of the qubits |
Functions
get_opfns_and_frontier | Get the frontier of a circuit as well as references to all the StateModifiers needed in the correct order. |
get_owned_opfns | Deconstruct the circuit and own all the StateModifiers needed to run it. |
get_required_state_size | Return the required number of qubits for a given frontier of Registers (those in the circuit with no parent Registers) and a set of initial states. |
get_required_state_size_from_frontier | Return the required number of qubits for a given frontier of qubits (those in the circuit with no parent qubits). |
make_circuit_matrix | Create a circuit for the circuit given by |
run | Builds a default state of size |
run_local |
|
run_local_with_init |
|
run_with_init | Run the circuit, starting by building the quantum state QS with a set of initial states. |
run_with_state | Run the circuit with a given starting state. |
run_with_statebuilder | Run the circuit using a function to build the initial state. |
Type Definitions
RegisterInitialState | A set of indices and their initial state. |
SideChannelModifierFn | A functions which maps measured values to a series of StateModifiers which will be applied to the state. |