qdk_chemistry.algorithms.state_preparation.identity module

Identity state preparation — leaves the initial state unchanged.

qdk_chemistry.algorithms.state_preparation.identity.identity_state_prep(num_qubits)[source]

Create an identity state-preparation circuit that leaves the initial state unchanged.

Useful as a trivial state-prep when evolving from a computational basis state (e.g. |0...0>) without any additional preparation.

Return type:

Circuit

Parameters:

num_qubits (int) – Number of qubits in the circuit.

Returns:

A Circuit representing the identity operation on num_qubits qubits.