The embodiment of the invention provides a
quantum storage
data encoding and decoding method, a device and a
system. According to the technical scheme of the invention, input data are encrypted by adopting a random number D to obtain a data
ciphertext P0. The random number D and the data
ciphertext P0 are respectively decomposed into data
quantum code sets according to respective
quantum dictionaries. According to an integrated coding
random sequence code Sn, all data
quantum codes of D and P0 are assembled to form coded data PP. The coded data PP are divided into n pieces of data fragments: PP1, PP2..., PPn. A coding head H and an envelope code HX are added to the head of each
data fragment and then n data, namely P1, P2..., Pn, are constructed. The constructed data are outputted to the respective target positions. According to the embodiment of the invention, a secret segmentation method and a
system are provided. The random features that, secret keys do not need to be stored in enciphered data and outputted data cannot be predicted and are different each time, are realized. Meanwhile, the invention provides a method for the compatibility of a binary quantum bit computer with a current
silicon bit computer.