SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 74b2f2cd authored by George Katsikas's avatar George Katsikas :goat:
Browse files

fix scipost tests and remove duplicate

parent 64402eda
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,9 @@ class ArxivCallerTest(TestCase):
correct_data = {
"arxiv_link": "https://arxiv.org/abs/1612.07611v1",
"author_list": "Roman Krčmár, Andrej Gendiar, Tomotoshi Nishino",
"abstract": "The Berezinskii-Kosterlitz-Thouless (BKT) transitions of the six-state clock\nmodel on the square lattice are investigated by means of the corner-transfer\nmatrix renormalization group method. The classical analogue of the entanglement\nentropy $S( L, T )$ is calculated for $L$ by $L$ square system up to $L = 129$,\nas a function of temperature $T$. The entropy has a peak at $T = T^{*}_{~}( L\n)$, where the temperature depends on both $L$ and boundary conditions. Applying\nthe finite-size scaling to $T^{*}_{~}( L )$ and assuming the presence of BKT\ntransitions, the transition temperature is estimated to be $T_1^{~} = 0.70$ and\n$T_2^{~} = 0.88$. The obtained results agree with previous analyses. It should\nbe noted that no thermodynamic function is used in this study.",
"pub_abstract": "The Berezinskii-Kosterlitz-Thouless (BKT) transitions of the six-state clock\nmodel on the square lattice are investigated by means of the corner-transfer\nmatrix renormalization group method. The classical analogue of the entanglement\nentropy $S( L, T )$ is calculated for $L$ by $L$ square system up to $L = 129$,\nas a function of temperature $T$. The entropy has a peak at $T = T^{*}_{~}( L\n)$, where the temperature depends on both $L$ and boundary conditions. Applying\nthe finite-size scaling to $T^{*}_{~}( L )$ and assuming the presence of BKT\ntransitions, the transition temperature is estimated to be $T_1^{~} = 0.70$ and\n$T_2^{~} = 0.88$. The obtained results agree with previous analyses. It should\nbe noted that no thermodynamic function is used in this study.",
"title": "Phase transition of the six-state clock model observed from the\n entanglement entropy",
"abstract": "The Berezinskii-Kosterlitz-Thouless (BKT) transitions of the six-state clock model on the square lattice are investigated by means of the corner-transfer matrix renormalization group method. The classical analogue of the entanglement entropy $S( L, T )$ is calculated for $L$ by $L$ square system up to $L = 129$, as a function of temperature $T$. The entropy has a peak at $T = T^{*}_{~}( L )$, where the temperature depends on both $L$ and boundary conditions. Applying the finite-size scaling to $T^{*}_{~}( L )$ and assuming the presence of BKT transitions, the transition temperature is estimated to be $T_1^{~} = 0.70$ and $T_2^{~} = 0.88$. The obtained results agree with previous analyses. It should be noted that no thermodynamic function is used in this study.",
"pub_abstract": "The Berezinskii-Kosterlitz-Thouless (BKT) transitions of the six-state clock model on the square lattice are investigated by means of the corner-transfer matrix renormalization group method. The classical analogue of the entanglement entropy $S( L, T )$ is calculated for $L$ by $L$ square system up to $L = 129$, as a function of temperature $T$. The entropy has a peak at $T = T^{*}_{~}( L )$, where the temperature depends on both $L$ and boundary conditions. Applying the finite-size scaling to $T^{*}_{~}( L )$ and assuming the presence of BKT transitions, the transition temperature is estimated to be $T_1^{~} = 0.70$ and $T_2^{~} = 0.88$. The obtained results agree with previous analyses. It should be noted that no thermodynamic function is used in this study.",
"title": "Phase transition of the six-state clock model observed from the entanglement entropy",
"preprint_link": "https://arxiv.org/abs/1612.07611v1",
"pub_date": datetime.date(2016, 12, 22),
}
......@@ -38,9 +38,9 @@ class ArxivCallerTest(TestCase):
"arxiv_link": "https://arxiv.org/abs/cond-mat/0612480v2",
"pub_date": datetime.date(2006, 12, 19),
"author_list": "Kouji Ueda, Chenglong Jin, Naokazu Shibata, Yasuhiro Hieida, Tomotoshi Nishino",
"abstract": "A kind of least action principle is introduced for the discrete time\nevolution of one-dimensional quantum lattice models. Based on this principle,\nwe obtain an optimal condition for the matrix product states on succeeding time\nslices generated by the real-time density matrix renormalization group method.\nThis optimization can also be applied to classical simulations of quantum\ncircuits. We discuss the time reversal symmetry in the fully optimized MPS.",
"pub_abstract": "A kind of least action principle is introduced for the discrete time\nevolution of one-dimensional quantum lattice models. Based on this principle,\nwe obtain an optimal condition for the matrix product states on succeeding time\nslices generated by the real-time density matrix renormalization group method.\nThis optimization can also be applied to classical simulations of quantum\ncircuits. We discuss the time reversal symmetry in the fully optimized MPS.",
"title": "Least Action Principle for the Real-Time Density Matrix Renormalization\n Group",
"abstract": "A kind of least action principle is introduced for the discrete time evolution of one-dimensional quantum lattice models. Based on this principle, we obtain an optimal condition for the matrix product states on succeeding time slices generated by the real-time density matrix renormalization group method. This optimization can also be applied to classical simulations of quantum circuits. We discuss the time reversal symmetry in the fully optimized MPS.",
"pub_abstract": "A kind of least action principle is introduced for the discrete time evolution of one-dimensional quantum lattice models. Based on this principle, we obtain an optimal condition for the matrix product states on succeeding time slices generated by the real-time density matrix renormalization group method. This optimization can also be applied to classical simulations of quantum circuits. We discuss the time reversal symmetry in the fully optimized MPS.",
"title": "Least Action Principle for the Real-Time Density Matrix Renormalization Group",
"preprint_link": "https://arxiv.org/abs/cond-mat/0612480v2",
}
del caller.data["preprint_server"] # Remove server key before comparison
......
......@@ -102,18 +102,3 @@ class VetCommentaryRequestsTest(TestCase):
UnvettedCommentaryFactory()
response = self.client.get(self.view_url)
self.assertTrue(type(response.context["commentary_to_vet"]) is Commentary)
class CommentaryDetailTest(TestCase):
def setUp(self):
add_groups_and_permissions()
self.client = Client()
self.commentary = UnpublishedCommentaryFactory()
self.target = reverse(
"commentaries:commentary",
kwargs={"arxiv_or_DOI_string": self.commentary.arxiv_or_DOI_string},
)
def test_status_code_200(self):
response = self.client.get(self.target)
self.assertEqual(response.status_code, 200)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment