Generally speaking, the instructions that can appear in a stim circuit file can be divided up into three groups:Īn operation is a quantum channel to apply to the quantum state of the system, Instruction Typesįor a complete list of instructions supported by stim and their individual meanings, SemanticsĪ stim circuit file is executed by executing each of its instructions and blocks, one by one, from start to finish. SyntaxĪ stim circuit file is made up of a series of lines.Įach line is either blank, an instruction, a block initiator, or a block terminator.Īlso, each line may be indented with spacing characters and may end with a comment indicated by a hash ( #).Ĭomments and indentation are purely decorative they carry no semantic significance.īlock contents are indented by convention, but this is not necessary. Stim circuit files are always encoded using UTF-8.įurthermore, the only place in the file where non-ASCII characters are permitted is inside of comments. Annotated Noisy Repetition Code Circuit.Noise processes to apply during simulations,Īnd annotations for tasks such as detection event sampling and drawing the circuit. The circuit file includes gates to apply to qubits, A stim circuit file (.stim) is a human-readable specification of an annotated stabilizer circuit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |