SpinSimulator.get_empty_circuit¶
- SpinSimulator.get_empty_circuit()¶
Convenience function to set up an empty circuit with the right QuantumRegisters. For each atomic species specified in the config file, a quantum register is added to the circuit.
- Returns:
An empty quantum circuit ready to use in spin-based cold-atom setups.
- Return type:
qc
- Raises:
If backend has no config file. - If number of wires of the backend config is not a multiple of the atomic species.