BaseSpinBackend.get_empty_circuit

BaseSpinBackend.get_empty_circuit()[source]

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:

QiskitColdAtomError

  • If backend has no config file. - If number of wires of the backend config is not a multiple of the atomic species.