IsomorphicQ[g,h]
yields True if graphs g and h are isomorphic.


IsomorphicQ
IsomorphicQ[g,h]
yields True if graphs g and h are isomorphic.
Details and Options
- IsomorphicQ functionality is now available in the built-in Wolfram Language function IsomorphicGraphQ.
- To use IsomorphicQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
- This function takes an option Invariants->{f1,f2,…}, where f1,f2,… are functions that are used to compute vertex invariants. These functions are used in the order in which they are specified.
- The default value of Invariants is {DegreesOf2Neighborhood,NumberOf2Paths,Distances}.
Examples
Basic Examples (2)
IsomorphicQ has been superseded by IsomorphicGraphQ:
See Also
Tech Notes
Related Guides
-
▪
- Graph Algorithms ▪
- Graph Properties ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2012), IsomorphicQ, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/IsomorphicQ.html.
CMS
Wolfram Language. 2012. "IsomorphicQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/IsomorphicQ.html.
APA
Wolfram Language. (2012). IsomorphicQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/IsomorphicQ.html
BibTeX
@misc{reference.wolfram_2025_isomorphicq, author="Wolfram Research", title="{IsomorphicQ}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/IsomorphicQ.html}", note=[Accessed: 09-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_isomorphicq, organization={Wolfram Research}, title={IsomorphicQ}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/IsomorphicQ.html}, note=[Accessed: 09-August-2025]}