# Is there any difference between those two notations of a quantum state?

In "Quantum Computing verstehen", the author uses both $|ab>$ and $|a,b>$ to describe the state of a 2-bit quantum register. Is there any important difference between those two notations or do they basically mean the same?

It's the same in quantum information theory. They both mean $|a\rangle\otimes|b\rangle$. The second is just a little more explicit than the first since you're separating the two vectors by a comma. In quantum information this isn't so much a problem since $a$ and $b$ only take the values of $0$ or $1$, but in more general contexts (i.e. number states), the comma is imperative because it is difficult to discern the exact meaning of $|ab\rangle$. Take for instance $|231\rangle$ in the former notation in a composite number state system (like two harmonic oscillators combined). How would you interpret this? $|2\rangle\otimes|31\rangle$ or $|23\rangle\otimes|1\rangle$? With a comma in place it becomes clear what is meant and there is no ambiguity.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9289098381996155, "perplexity": 98.37308076975735}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2019-51/segments/1575540517156.63/warc/CC-MAIN-20191209013904-20191209041904-00260.warc.gz"}