qdk_chemistry.algorithms.state_preparation.dense_pure_state module

QDK/Chemistry dense pure-state preparation algorithm.

class qdk_chemistry.algorithms.state_preparation.dense_pure_state.DensePureStatePreparation[source]

Bases: StatePreparation

State preparation using the Q# PreparePureStateD operation.

This is the simplest dense amplitude-loading strategy: given an arbitrary real-valued amplitude vector, it uses PreparePureStateD to prepare the corresponding state on a qubit register.

__init__()[source]

Initialize the DensePureStatePreparation.

name()[source]

Return the algorithm name.

Return type:

str

Returns:

The name "dense_pure_state".

Return type:

str