Raises:
ValueError: Computed qubits do not match actual value
validate(locals(), self._INPUT_SCHEMA)
super().__init__()
self._z2_symmetries = Z2Symmetries([], [], [], []) \
After Change
validate_min("depth", depth, 1)
validate_min("num_orbitals", num_orbitals, 1)
if isinstance(num_particles, list) and len(num_particles) != 2:
raise ValueError("Num particles value {}. Number of values allowed is 2".format(
num_particles))
validate_in_set("qubit_mapping", qubit_mapping,
{"jordan_wigner", "parity", "bravyi_kitaev"})
validate_min("num_time_slices", num_time_slices, 1)
super().__init__()