pqca.automaton module¶
Partitioned Quantum Cellular Automaton.
- class pqca.automaton.Automaton(initial_state: List[int], frames: List[pqca.update_frame.UpdateFrame], backend: Callable[[qiskit.circuit.quantumcircuit.QuantumCircuit], List[int]])¶
Bases:
objectPartitioned Quantum Cellular Automaton.
Use next(automaton) to advance and return the new state.
Has an internal state that is updated by applying the update circuit. The update circuit is formed by sequentially applying the update frames, and then measuring the qubits.
The evaluation of the circuit is performed by the supplied backend.
- property combined_circuit: qiskit.circuit.quantumcircuit.QuantumCircuit¶
Combine preparation and update circuit.
- property preparation_circuit: qiskit.circuit.quantumcircuit.QuantumCircuit¶
Circuit for preparing a register of qubits into the current state.