Zero¶
-
class
Zero
(num_qubits)[source]¶ Bases:
qiskit.aqua.components.initial_states.initial_state.InitialState
The zero (null/vacuum) state.
This is suitable for those situations in which the all-zeros state is the desired state. This is the case for a vacuum state in physics or chemistry
- Parameters
num_qubits (
int
) – Number of qubits, has a minimum value of 1.
Methods
Construct the statevector of desired initial state.
Attributes
-
bitstr
¶