ZerosState¶
- class ZerosState[source]¶
Bases:
InitialStateComputational basis state |00…0⟩ (no gates needed).
Methods Summary
build(wires)Return a state-preparation circuit on
len(wires)qubits.Methods Documentation
- build(wires)[source]¶
Return a state-preparation circuit on
len(wires)qubits.- Parameters:
wires (
Sequence) – Ordered sequence of wire labels (qubiti↔wires[i]). May contain non-integer labels (e.g. graph node names); only the length and ordering matter for circuit emission.- Return type:
- Returns:
A
QuantumCircuitwithlen(wires)qubits.